#262B58

Closest named color: Prussian Blue (#1D3557). oklch(31% 0.08 275.9), rgb(38, 43, 88).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.56:1
White text13.38:1

Values

HEX#262B58
RGBrgb(38, 43, 88)
HSLhsl(234, 40%, 25%)
OKLCHoklch(31% 0.08 275.9)

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 #262B58 13.38:1 AAA Lc -102.9 Preferred for body text
Black text on #262B58 1.56:1 Fails Lc 0.0 Not readable
#262B58 text on white 13.38:1 AAA Lc 99.7 Preferred for body text
#262B58 text on black 1.56: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #AFBCFE

    oklch(80.9% 0.095 275.5)

  5. Step 400

    400

    #8896FE

    oklch(70.7% 0.152 276)

  6. Step 500

    500

    #6D78FC

    oklch(63.2% 0.194 275.8)

  7. Step 600

    600

    #585CEB

    oklch(55.6% 0.211 275.9)

  8. Step 700

    700

    #494ACC

    oklch(49.1% 0.196 276.1)

  9. Step 800

    800

    #3B3EA5

    oklch(42.7% 0.162 275.8)

  10. Step 900

    900

    #323683

    oklch(37.7% 0.127 276.2)

  11. Step 950

    950 (this color)

    #262B58

    oklch(31% 0.08 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#262B58 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)#17315A0.024
Deuteranopia (no green cones)#112D570.026
Tritanopia (no blue cones)#10353D0.071
Achromatopsia (no color)#2F2F2F0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #262B58

    #262B58

    oklch(31% 0.08 275.9)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262B58

    #262B58

    oklch(31% 0.08 275.9)

  • #003356

    #003356

    oklch(31.1% 0.08 245.9)

  • #3A2450

    #3A2450

    oklch(31% 0.08 305.3)

Open the analogous palette in the generator

Split complementary

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

  • #262B58

    #262B58

    oklch(31% 0.08 275.9)

  • #472800

    #472800

    oklch(31% 0.069 66.5)

  • #263700

    #263700

    oklch(31% 0.079 126.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262B58

    #262B58

    oklch(31% 0.08 275.9)

  • #511E11

    #511E11

    oklch(30.9% 0.08 35.4)

  • #003B1F

    #003B1F

    oklch(31% 0.076 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262B58

    #262B58

    oklch(31% 0.08 275.9)

  • #501C2A

    #501C2A

    oklch(31% 0.079 6.2)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

  • #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 #262B58, closest first.

Similar named colors

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

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