#304052

Closest named color: Charcoal (#264653). oklch(36.5% 0.038 251.8), rgb(48, 64, 82).

Aa

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

About this color

#304052 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.038 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.021 away. White text reads best on it, at 10.60:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.038)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.98:1
White text10.60:1

Values

HEX#304052
RGBrgb(48, 64, 82)
HSLhsl(212, 26%, 25%)
OKLCHoklch(36.5% 0.038 251.8)

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 #304052 10.60:1 AAA Lc -98.5 Preferred for body text
Black text on #304052 1.98:1 Fails Lc 9.3 Not readable
#304052 text on white 10.60:1 AAA Lc 94.6 Preferred for body text
#304052 text on black 1.98:1 Fails Lc -8.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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D2DAE3

    oklch(88.5% 0.015 251.2)

  4. Step 300

    300

    #B4C2D3

    oklch(80.9% 0.029 253.3)

  5. Step 400

    400

    #8DA3BC

    oklch(70.7% 0.044 251.8)

  6. Step 500

    500

    #708CAC

    oklch(63.1% 0.058 252.1)

  7. Step 600

    600

    #587697

    oklch(55.6% 0.062 251.3)

  8. Step 700

    700

    #486381

    oklch(49.1% 0.058 251.6)

  9. Step 800

    800

    #3B5169

    oklch(42.7% 0.048 251.1)

  10. Step 900

    900 (this color)

    #304052

    oklch(36.5% 0.038 251.8)

  11. Step 950

    950

    #1E2732

    oklch(26.9% 0.024 253.7)

Export this scale for Tailwind in the Tailwind colors tool

#304052 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)#3941530.014
Deuteranopia (no green cones)#353D520.011
Tritanopia (no blue cones)#2544460.032
Achromatopsia (no color)#3F3F3F0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #304052

    #304052

    oklch(36.5% 0.038 251.8)

  • #4B3B28

    #4B3B28

    oklch(36.4% 0.038 71)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304052

    #304052

    oklch(36.5% 0.038 251.8)

  • #27434D

    #27434D

    oklch(36.5% 0.038 222.8)

  • #3B3C52

    #3B3C52

    oklch(36.5% 0.038 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #304052

    #304052

    oklch(36.5% 0.038 251.8)

  • #50382F

    #50382F

    oklch(36.5% 0.038 41.4)

  • #423F28

    #423F28

    oklch(36.4% 0.037 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304052

    #304052

    oklch(36.5% 0.038 251.8)

  • #503639

    #503639

    oklch(36.4% 0.038 11.5)

  • #37432E

    #37432E

    oklch(36.6% 0.038 132.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304052

    #304052

    oklch(36.5% 0.038 251.8)

  • #4D3744

    #4D3744

    oklch(36.6% 0.037 342.9)

  • #4B3B28

    #4B3B28

    oklch(36.4% 0.038 71)

  • #2C4538

    #2C4538

    oklch(36.6% 0.038 161)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304052 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.