#262D54

Closest named color: Prussian Blue (#1D3557). oklch(31.2% 0.07 274), rgb(38, 45, 84).

Aa

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

About this color

#262D54 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.070 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.026 away. White text reads best on it, at 13.24:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.58:1
White text13.24:1

Values

HEX#262D54
RGBrgb(38, 45, 84)
HSLhsl(231, 38%, 24%)
OKLCHoklch(31.2% 0.07 274)

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 #262D54 13.24:1 AAA Lc -102.7 Preferred for body text
Black text on #262D54 1.58:1 Fails Lc 0.0 Not readable
#262D54 text on white 13.24:1 AAA Lc 99.5 Preferred for body text
#262D54 text on black 1.58: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 950.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AFBDF7

    oklch(80.8% 0.084 273.9)

  5. Step 400

    400

    #8799F3

    oklch(70.7% 0.133 273.9)

  6. Step 500

    500

    #6B7DEF

    oklch(63.1% 0.171 273.8)

  7. Step 600

    600

    #5563DD

    oklch(55.6% 0.185 273.8)

  8. Step 700

    700

    #4651C0

    oklch(49.1% 0.172 273.9)

  9. Step 800

    800

    #39439B

    oklch(42.7% 0.142 273.8)

  10. Step 900

    900

    #313A7B

    oklch(37.8% 0.11 274)

  11. Step 950

    950 (this color)

    #262D54

    oklch(31.2% 0.07 274)

Export this scale for Tailwind in the Tailwind colors tool

#262D54 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)#1D32550.018
Deuteranopia (no green cones)#192E530.018
Tritanopia (no blue cones)#13353C0.062
Achromatopsia (no color)#3030300.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #262D54

    #262D54

    oklch(31.2% 0.07 274)

  • #3B3000

    #3B3000

    oklch(31.2% 0.064 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262D54

    #262D54

    oklch(31.2% 0.07 274)

  • #073451

    #073451

    oklch(31.2% 0.069 243)

  • #39274D

    #39274D

    oklch(31.3% 0.069 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #262D54

    #262D54

    oklch(31.2% 0.07 274)

  • #492800

    #492800

    oklch(31.3% 0.07 64.5)

  • #293607

    #293607

    oklch(31% 0.07 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262D54

    #262D54

    oklch(31.2% 0.07 274)

  • #4E2217

    #4E2217

    oklch(31.2% 0.07 35.2)

  • #0A3B20

    #0A3B20

    oklch(31.3% 0.07 154.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262D54

    #262D54

    oklch(31.2% 0.07 274)

  • #4D202D

    #4D202D

    oklch(31.3% 0.07 3.7)

  • #3B3000

    #3B3000

    oklch(31.2% 0.064 95.1)

  • #003A34

    #003A34

    oklch(31.3% 0.056 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #262D54 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.