#212F63

Closest named color: Marine (#042E60). oklch(32.4% 0.093 269.3), rgb(33, 47, 99).

Aa

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

About this color

#212F63 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.093 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.029 away. White text reads best on it, at 12.71:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.65:1
White text12.71:1

Values

HEX#212F63
RGBrgb(33, 47, 99)
HSLhsl(227, 50%, 26%)
OKLCHoklch(32.4% 0.093 269.3)

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 #212F63 12.71:1 AAA Lc -101.9 Preferred for body text
Black text on #212F63 1.65:1 Fails Lc 0.0 Not readable
#212F63 text on white 12.71:1 AAA Lc 98.6 Preferred for body text
#212F63 text on black 1.65: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 900.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F4

    oklch(88.6% 0.039 269.4)

  4. Step 300

    300

    #AEBFEF

    oklch(80.8% 0.071 269.6)

  5. Step 400

    400

    #849DE7

    oklch(70.7% 0.112 269.2)

  6. Step 500

    500

    #6783E0

    oklch(63.2% 0.144 269.4)

  7. Step 600

    600

    #4F6ACD

    oklch(55.5% 0.156 269.3)

  8. Step 700

    700

    #4058B2

    oklch(49.1% 0.145 269.2)

  9. Step 800

    800

    #354990

    oklch(42.8% 0.119 269.1)

  10. Step 900

    900 (this color)

    #212F63

    oklch(32.4% 0.093 269.3)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#212F63 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)#1336650.023
Deuteranopia (no green cones)#0530620.026
Tritanopia (no blue cones)#003B440.079
Achromatopsia (no color)#3333330.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #212F63

    #212F63

    oklch(32.4% 0.093 269.3)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212F63

    #212F63

    oklch(32.4% 0.093 269.3)

  • #003855

    #003855

    oklch(32.4% 0.073 239.2)

  • #3B265C

    #3B265C

    oklch(32.3% 0.094 299)

Open the analogous palette in the generator

Split complementary

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

  • #212F63

    #212F63

    oklch(32.4% 0.093 269.3)

  • #502800

    #502800

    oklch(32.4% 0.077 58.5)

  • #303900

    #303900

    oklch(32.5% 0.076 119.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212F63

    #212F63

    oklch(32.4% 0.093 269.3)

  • #5A1C15

    #5A1C15

    oklch(32.3% 0.093 29.5)

  • #004017

    #004017

    oklch(32.4% 0.091 149.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212F63

    #212F63

    oklch(32.4% 0.093 269.3)

  • #571A32

    #571A32

    oklch(32.3% 0.093 359.5)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

  • #003D35

    #003D35

    oklch(32.3% 0.058 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #212F63 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.