#304252

Closest named color: Charcoal (#264653). oklch(37.1% 0.036 245.8), rgb(48, 66, 82).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.036)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text2.02:1
White text10.36:1

Values

HEX#304252
RGBrgb(48, 66, 82)
HSLhsl(208, 26%, 25%)
OKLCHoklch(37.1% 0.036 245.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 #304252 10.36:1 AAA Lc -98.0 Preferred for body text
Black text on #304252 2.02:1 Fails Lc 9.9 Not readable
#304252 text on white 10.36:1 AAA Lc 94.0 Preferred for body text
#304252 text on black 2.02:1 Fails Lc -8.5 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D1DAE3

    oklch(88.4% 0.016 248)

  4. Step 300

    300

    #B3C3D1

    oklch(80.9% 0.026 244.5)

  5. Step 400

    400

    #8BA4BA

    oklch(70.7% 0.043 245)

  6. Step 500

    500

    #6E8DA9

    oklch(63% 0.055 246.1)

  7. Step 600

    600

    #567795

    oklch(55.6% 0.06 246.6)

  8. Step 700

    700

    #46647F

    oklch(49.1% 0.056 246.4)

  9. Step 800

    800

    #3A5267

    oklch(42.8% 0.046 245.6)

  10. Step 900

    900 (this color)

    #304252

    oklch(37.1% 0.036 245.8)

  11. Step 950

    950

    #1D2831

    oklch(27.1% 0.023 243.4)

Export this scale for Tailwind in the Tailwind colors tool

#304252 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)#3C42530.018
Deuteranopia (no green cones)#373E520.016
Tritanopia (no blue cones)#2446470.031
Achromatopsia (no color)#4040400.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #304252

    #304252

    oklch(37.1% 0.036 245.8)

  • #4D3C2B

    #4D3C2B

    oklch(37% 0.036 66.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304252

    #304252

    oklch(37.1% 0.036 245.8)

  • #29454C

    #29454C

    oklch(37.1% 0.036 215.3)

  • #3A3E53

    #3A3E53

    oklch(36.9% 0.037 276.1)

Open the analogous palette in the generator

Split complementary

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

  • #304252

    #304252

    oklch(37.1% 0.036 245.8)

  • #513933

    #513933

    oklch(37% 0.036 34.5)

  • #45402A

    #45402A

    oklch(37% 0.036 96.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304252

    #304252

    oklch(37.1% 0.036 245.8)

  • #51383D

    #51383D

    oklch(37.1% 0.036 5.8)

  • #3B432F

    #3B432F

    oklch(36.9% 0.035 125.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304252

    #304252

    oklch(37.1% 0.036 245.8)

  • #4C3947

    #4C3947

    oklch(37.1% 0.035 335.9)

  • #4D3C2B

    #4D3C2B

    oklch(37% 0.036 66.3)

  • #304638

    #304638

    oklch(37.1% 0.037 156.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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