#05215B

Closest named color: Marine (#042E60). oklch(27.1% 0.11 262.1), rgb(5, 33, 91).

Aa

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

About this color

#05215B is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.110 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.039 away. White text reads best on it, at 15.27:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.37:1
White text15.27:1

Values

HEX#05215B
RGBrgb(5, 33, 91)
HSLhsl(220, 90%, 19%)
OKLCHoklch(27.1% 0.11 262.1)

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 #05215B 15.27:1 AAA Lc -104.5 Preferred for body text
Black text on #05215B 1.37:1 Fails Lc 0.0 Not readable
#05215B text on white 15.27:1 AAA Lc 101.7 Preferred for body text
#05215B text on black 1.37: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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4282FF

    oklch(63.2% 0.198 262)

  7. Step 600

    600

    #1061FF

    oklch(55.6% 0.245 262.2)

  8. Step 700

    700

    #004EDF

    oklch(49% 0.229 262.1)

  9. Step 800

    800

    #003FB9

    oklch(42.6% 0.2 262.2)

  10. Step 900

    900

    #02359B

    oklch(37.7% 0.173 262.2)

  11. Step 950

    950 (this color)

    #05215B

    oklch(27.1% 0.11 262.1)

Export this scale for Tailwind in the Tailwind colors tool

#05215B 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)#00295D0.023
Deuteranopia (no green cones)#00225A0.005
Tritanopia (no blue cones)#00303A0.084
Achromatopsia (no color)#2525250.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #05215B

    #05215B

    oklch(27.1% 0.11 262.1)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05215B

    #05215B

    oklch(27.1% 0.11 262.1)

  • #002B3D

    #002B3D

    oklch(27.1% 0.055 231.9)

  • #2A1656

    #2A1656

    oklch(27.1% 0.109 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #05215B

    #05215B

    oklch(27.1% 0.11 262.1)

  • #401B00

    #401B00

    oklch(27.2% 0.069 52.7)

  • #282900

    #282900

    oklch(27.1% 0.06 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05215B

    #05215B

    oklch(27.1% 0.11 262.1)

  • #50000B

    #50000B

    oklch(27.2% 0.11 22.3)

  • #013100

    #013100

    oklch(27.2% 0.092 142.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05215B

    #05215B

    oklch(27.1% 0.11 262.1)

  • #4A022C

    #4A022C

    oklch(27.1% 0.109 352)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

  • #002F24

    #002F24

    oklch(27.2% 0.053 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05215B 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.