#304D64

Closest named color: Dark Grey Blue (#29465B). oklch(40.8% 0.052 243.5), rgb(48, 77, 100).

Aa

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

About this color

#304D64 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.052 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.027 away. White text reads best on it, at 8.85:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.052)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.37:1
White text8.85:1

Values

HEX#304D64
RGBrgb(48, 77, 100)
HSLhsl(207, 35%, 29%)
OKLCHoklch(40.8% 0.052 243.5)

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 #304D64 8.85:1 AAA Lc -94.6 Preferred for body text
Black text on #304D64 2.37:1 Fails Lc 13.8 Not readable
#304D64 text on white 8.85:1 AAA Lc 90.2 Preferred for body text
#304D64 text on black 2.37:1 Fails Lc -12.1 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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D0DBE4

    oklch(88.6% 0.017 242.5)

  4. Step 300

    300

    #B1C3D3

    oklch(80.9% 0.03 245)

  5. Step 400

    400

    #87A5BD

    oklch(70.8% 0.048 242.5)

  6. Step 500

    500

    #698EAD

    oklch(63.1% 0.062 244.3)

  7. Step 600

    600

    #507898

    oklch(55.6% 0.067 243.5)

  8. Step 700

    700

    #406582

    oklch(49.1% 0.063 243.2)

  9. Step 800

    800 (this color)

    #304D64

    oklch(40.8% 0.052 243.5)

  10. Step 900

    900

    #2E4456

    oklch(37.6% 0.041 243.9)

  11. Step 950

    950

    #1B2832

    oklch(27% 0.026 242)

Export this scale for Tailwind in the Tailwind colors tool

#304D64 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)#434D650.026
Deuteranopia (no green cones)#3C48640.021
Tritanopia (no blue cones)#1753550.044
Achromatopsia (no color)#4A4A4A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D64

    #304D64

    oklch(40.8% 0.052 243.5)

  • #5E442B

    #5E442B

    oklch(40.9% 0.052 64.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D64

    #304D64

    oklch(40.8% 0.052 243.5)

  • #23515B

    #23515B

    oklch(40.7% 0.053 214)

  • #404866

    #404866

    oklch(40.8% 0.052 272.5)

Open the analogous palette in the generator

Split complementary

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

  • #304D64

    #304D64

    oklch(40.8% 0.052 243.5)

  • #633F37

    #633F37

    oklch(40.7% 0.053 33.1)

  • #534927

    #534927

    oklch(40.7% 0.052 93.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D64

    #304D64

    oklch(40.8% 0.052 243.5)

  • #623E47

    #623E47

    oklch(40.9% 0.052 3.3)

  • #444F2E

    #444F2E

    oklch(40.9% 0.053 123.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D64

    #304D64

    oklch(40.8% 0.052 243.5)

  • #5B3F56

    #5B3F56

    oklch(40.8% 0.053 332.9)

  • #5E442B

    #5E442B

    oklch(40.9% 0.052 64.4)

  • #33523C

    #33523C

    oklch(40.7% 0.052 152.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304D64 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.