#262A59

Closest named color: Prussian Blue (#1D3557). oklch(30.9% 0.083 276.7), rgb(38, 42, 89).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.48:1

Values

HEX#262A59
RGBrgb(38, 42, 89)
HSLhsl(235, 40%, 25%)
OKLCHoklch(30.9% 0.083 276.7)

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 #262A59 13.48:1 AAA Lc -103.0 Preferred for body text
Black text on #262A59 1.55:1 Fails Lc 0.0 Not readable
#262A59 text on white 13.48:1 AAA Lc 99.8 Preferred for body text
#262A59 text on black 1.55: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8995FF

    oklch(70.7% 0.154 276.8)

  6. Step 500

    500

    #6E76FF

    oklch(63.1% 0.2 276.5)

  7. Step 600

    600

    #5A59EF

    oklch(55.6% 0.219 276.9)

  8. Step 700

    700

    #4A48D0

    oklch(49.1% 0.203 276.5)

  9. Step 800

    800

    #3C3CA8

    oklch(42.6% 0.169 276.5)

  10. Step 900

    900

    #333585

    oklch(37.7% 0.131 277)

  11. Step 950

    950 (this color)

    #262A59

    oklch(30.9% 0.083 276.7)

Export this scale for Tailwind in the Tailwind colors tool

#262A59 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)#14315B0.028
Deuteranopia (no green cones)#0E2D580.029
Tritanopia (no blue cones)#0F343D0.072
Achromatopsia (no color)#2F2F2F0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #262A59

    #262A59

    oklch(30.9% 0.083 276.7)

  • #392F00

    #392F00

    oklch(30.7% 0.063 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262A59

    #262A59

    oklch(30.9% 0.083 276.7)

  • #003256

    #003256

    oklch(30.8% 0.081 246.9)

  • #3B2350

    #3B2350

    oklch(30.9% 0.082 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #262A59

    #262A59

    oklch(30.9% 0.083 276.7)

  • #462800

    #462800

    oklch(30.8% 0.068 67.6)

  • #253700

    #253700

    oklch(30.9% 0.08 127.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262A59

    #262A59

    oklch(30.9% 0.083 276.7)

  • #521D0E

    #521D0E

    oklch(30.9% 0.083 36.5)

  • #003B20

    #003B20

    oklch(31% 0.074 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262A59

    #262A59

    oklch(30.9% 0.083 276.7)

  • #511A29

    #511A29

    oklch(30.9% 0.083 6.6)

  • #392F00

    #392F00

    oklch(30.7% 0.063 96.2)

  • #003934

    #003934

    oklch(31% 0.055 185.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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