#22334B

Closest named color: Gunmetal (#293241). oklch(31.8% 0.049 257.1), rgb(34, 51, 75).

Aa

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

About this color

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

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

Values

HEX#22334B
RGBrgb(34, 51, 75)
HSLhsl(215, 38%, 21%)
OKLCHoklch(31.8% 0.049 257.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 #22334B 12.78:1 AAA Lc -102.1 Preferred for body text
Black text on #22334B 1.64:1 Fails Lc 0.0 Not readable
#22334B text on white 12.78:1 AAA Lc 98.8 Preferred for body text
#22334B 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

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #A9C3E6

    oklch(81% 0.057 255.9)

  5. Step 400

    400

    #7BA3DA

    oklch(70.8% 0.092 256.5)

  6. Step 500

    500

    #598BD0

    oklch(63.2% 0.118 256.7)

  7. Step 600

    600

    #3E73BD

    oklch(55.5% 0.129 257.1)

  8. Step 700

    700

    #3060A3

    oklch(49% 0.12 257.2)

  9. Step 800

    800

    #294F84

    oklch(42.7% 0.099 257.1)

  10. Step 900

    900

    #25426A

    oklch(37.7% 0.077 256.8)

  11. Step 950

    950 (this color)

    #22334B

    oklch(31.8% 0.049 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#22334B 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)#2A344C0.012
Deuteranopia (no green cones)#25304A0.010
Tritanopia (no blue cones)#0F383B0.044
Achromatopsia (no color)#3232320.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #22334B

    #22334B

    oklch(31.8% 0.049 257.1)

  • #402F13

    #402F13

    oklch(31.8% 0.049 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22334B

    #22334B

    oklch(31.8% 0.049 257.1)

  • #123746

    #123746

    oklch(31.8% 0.049 228.2)

  • #312E4A

    #312E4A

    oklch(31.8% 0.049 288.2)

Open the analogous palette in the generator

Split complementary

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

  • #22334B

    #22334B

    oklch(31.8% 0.049 257.1)

  • #472A1C

    #472A1C

    oklch(31.8% 0.049 46.2)

  • #353415

    #353415

    oklch(31.8% 0.048 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22334B

    #22334B

    oklch(31.8% 0.049 257.1)

  • #482829

    #482829

    oklch(31.8% 0.048 18.1)

  • #26381F

    #26381F

    oklch(31.7% 0.049 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22334B

    #22334B

    oklch(31.8% 0.049 257.1)

  • #442837

    #442837

    oklch(31.8% 0.048 346.8)

  • #402F13

    #402F13

    oklch(31.8% 0.049 77.9)

  • #163A2D

    #163A2D

    oklch(31.8% 0.048 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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