#262A52

Closest named color: Space Cadet (#2B2D42). oklch(30.3% 0.072 276.9), rgb(38, 42, 82).

Aa

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

About this color

#262A52 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.072 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.034 away. White text reads best on it, at 13.67:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.67:1

Values

HEX#262A52
RGBrgb(38, 42, 82)
HSLhsl(235, 37%, 24%)
OKLCHoklch(30.3% 0.072 276.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 #262A52 13.67:1 AAA Lc -103.2 Preferred for body text
Black text on #262A52 1.53:1 Fails Lc 0.0 Not readable
#262A52 text on white 13.67:1 AAA Lc 100.1 Preferred for body text
#262A52 text on black 1.53: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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7F9

    oklch(88.5% 0.047 277.5)

  4. Step 300

    300

    #B2BCF8

    oklch(80.9% 0.086 277)

  5. Step 400

    400

    #8C97F4

    oklch(70.7% 0.136 277.2)

  6. Step 500

    500

    #717AF0

    oklch(63% 0.174 276.9)

  7. Step 600

    600

    #5C60DE

    oklch(55.6% 0.188 277)

  8. Step 700

    700

    #4C4EC1

    oklch(49% 0.176 277)

  9. Step 800

    800

    #3E419C

    oklch(42.7% 0.145 276.9)

  10. Step 900

    900

    #34387C

    oklch(37.6% 0.113 276.9)

  11. Step 950

    950 (this color)

    #262A52

    oklch(30.3% 0.072 276.9)

Export this scale for Tailwind in the Tailwind colors tool

#262A52 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)#1A2F540.021
Deuteranopia (no green cones)#162C510.022
Tritanopia (no blue cones)#15323A0.061
Achromatopsia (no color)#2D2D2D0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #262A52

    #262A52

    oklch(30.3% 0.072 276.9)

  • #382E00

    #382E00

    oklch(30.3% 0.062 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262A52

    #262A52

    oklch(30.3% 0.072 276.9)

  • #083150

    #083150

    oklch(30.4% 0.071 246.5)

  • #38244A

    #38244A

    oklch(30.4% 0.07 307)

Open the analogous palette in the generator

Split complementary

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

  • #262A52

    #262A52

    oklch(30.3% 0.072 276.9)

  • #452700

    #452700

    oklch(30.5% 0.067 67)

  • #253506

    #253506

    oklch(30.4% 0.072 127)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262A52

    #262A52

    oklch(30.3% 0.072 276.9)

  • #4C1F12

    #4C1F12

    oklch(30.2% 0.072 36.9)

  • #01391F

    #01391F

    oklch(30.3% 0.072 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262A52

    #262A52

    oklch(30.3% 0.072 276.9)

  • #4C1D28

    #4C1D28

    oklch(30.4% 0.072 7.8)

  • #382E00

    #382E00

    oklch(30.3% 0.062 96)

  • #003733

    #003733

    oklch(30.3% 0.053 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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