#262C71

Closest named color: Marine Blue (#01386A). oklch(33.3% 0.118 274.3), rgb(38, 44, 113).

Aa

White text reads best on this color (12.49:1).

About this color

#262C71 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.118 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.045 away. White text reads best on it, at 12.49:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.68:1
White text12.49:1

Values

HEX#262C71
RGBrgb(38, 44, 113)
HSLhsl(235, 50%, 30%)
OKLCHoklch(33.3% 0.118 274.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #262C71 12.49:1 AAA Lc -101.5 Preferred for body text
Black text on #262C71 1.68:1 Fails Lc 0.0 Not readable
#262C71 text on white 12.49:1 AAA Lc 98.0 Preferred for body text
#262C71 text on black 1.68:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FA

    oklch(88.4% 0.049 275.2)

  4. Step 300

    300

    #AFBDFA

    oklch(80.9% 0.088 274.3)

  5. Step 400

    400

    #8698F8

    oklch(70.7% 0.142 274.2)

  6. Step 500

    500

    #6B7BF4

    oklch(63.1% 0.18 274.4)

  7. Step 600

    600

    #5560E3

    oklch(55.5% 0.196 274.4)

  8. Step 700

    700

    #464FC5

    oklch(49.1% 0.181 274.3)

  9. Step 800

    800

    #3941A0

    oklch(42.7% 0.152 274.3)

  10. Step 900

    900 (this color)

    #262C71

    oklch(33.3% 0.118 274.3)

  11. Step 950

    950

    #1C224A

    oklch(27% 0.074 274)

Export this scale for Tailwind in the Tailwind colors tool

#262C71 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0037730.040
Deuteranopia (no green cones)#0031700.035
Tritanopia (no blue cones)#003D4A0.098
Achromatopsia (no color)#3434340.118

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #262C71

    #262C71

    oklch(33.3% 0.118 274.3)

  • #413500

    #413500

    oklch(33.2% 0.068 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262C71

    #262C71

    oklch(33.3% 0.118 274.3)

  • #00395D

    #00395D

    oklch(33.2% 0.083 244.4)

  • #442166

    #442166

    oklch(33.4% 0.117 304)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #262C71

    #262C71

    oklch(33.3% 0.118 274.3)

  • #502C00

    #502C00

    oklch(33.2% 0.075 64.1)

  • #2D3D00

    #2D3D00

    oklch(33.4% 0.083 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262C71

    #262C71

    oklch(33.3% 0.118 274.3)

  • #651401

    #651401

    oklch(33.3% 0.117 34.4)

  • #004221

    #004221

    oklch(33.3% 0.084 154.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262C71

    #262C71

    oklch(33.3% 0.118 274.3)

  • #630F2F

    #630F2F

    oklch(33.3% 0.118 4)

  • #413500

    #413500

    oklch(33.2% 0.068 95)

  • #00403A

    #00403A

    oklch(33.4% 0.059 184.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #262C71, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #262C71 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.