#22334A

Closest named color: Gunmetal (#293241). oklch(31.8% 0.047 256.2), rgb(34, 51, 74).

Aa

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

About this color

#22334A is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.047 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.018 away. White text reads best on it, at 12.80:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.047)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.64:1
White text12.80:1

Values

HEX#22334A
RGBrgb(34, 51, 74)
HSLhsl(215, 37%, 21%)
OKLCHoklch(31.8% 0.047 256.2)

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 #22334A 12.80:1 AAA Lc -102.2 Preferred for body text
Black text on #22334A 1.64:1 Fails Lc 0.0 Not readable
#22334A text on white 12.80:1 AAA Lc 98.9 Preferred for body text
#22334A text on black 1.64: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CCDAEE

    oklch(88.4% 0.031 257.2)

  4. Step 300

    300

    #AAC3E5

    oklch(81% 0.055 256.1)

  5. Step 400

    400

    #7CA3D8

    oklch(70.7% 0.089 256.2)

  6. Step 500

    500

    #5A8BCD

    oklch(63.1% 0.113 256.2)

  7. Step 600

    600

    #3F74BA

    oklch(55.6% 0.123 256.1)

  8. Step 700

    700

    #3161A1

    oklch(49.1% 0.116 256.4)

  9. Step 800

    800

    #294F82

    oklch(42.6% 0.096 256.4)

  10. Step 900

    900

    #264268

    oklch(37.6% 0.074 256.4)

  11. Step 950

    950 (this color)

    #22334A

    oklch(31.8% 0.047 256.2)

Export this scale for Tailwind in the Tailwind colors tool

#22334A 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)#2A344B0.013
Deuteranopia (no green cones)#25304A0.010
Tritanopia (no blue cones)#10383B0.042
Achromatopsia (no color)#3232320.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #402F15

    #402F15

    oklch(31.8% 0.047 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #133745

    #133745

    oklch(31.8% 0.048 226.9)

  • #302F49

    #302F49

    oklch(31.8% 0.046 285.2)

Open the analogous palette in the generator

Split complementary

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

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #462A1D

    #462A1D

    oklch(31.7% 0.047 45.5)

  • #353415

    #353415

    oklch(31.8% 0.048 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #47282A

    #47282A

    oklch(31.7% 0.047 15.9)

  • #27381F

    #27381F

    oklch(31.8% 0.048 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #442837

    #442837

    oklch(31.8% 0.048 346.8)

  • #402F15

    #402F15

    oklch(31.8% 0.047 76.3)

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22334A 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.