#304D63

Closest named color: Dark Grey Blue (#29465B). oklch(40.7% 0.051 242.3), rgb(48, 77, 99).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.36:1
White text8.87:1

Values

HEX#304D63
RGBrgb(48, 77, 99)
HSLhsl(206, 35%, 29%)
OKLCHoklch(40.7% 0.051 242.3)

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 #304D63 8.87:1 AAA Lc -94.7 Preferred for body text
Black text on #304D63 2.36:1 Fails Lc 13.7 Not readable
#304D63 text on white 8.87:1 AAA Lc 90.2 Preferred for body text
#304D63 text on black 2.36: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

    #D0DBE3

    oklch(88.5% 0.016 239.1)

  4. Step 300

    300

    #B1C3D3

    oklch(80.9% 0.03 245)

  5. Step 400

    400

    #87A5BC

    oklch(70.7% 0.047 241.4)

  6. Step 500

    500

    #698EAC

    oklch(63.1% 0.061 243.4)

  7. Step 600

    600

    #507897

    oklch(55.6% 0.066 242.7)

  8. Step 700

    700

    #406581

    oklch(49.1% 0.062 242.2)

  9. Step 800

    800 (this color)

    #304D63

    oklch(40.7% 0.051 242.3)

  10. Step 900

    900

    #2F4455

    oklch(37.6% 0.039 243.5)

  11. Step 950

    950

    #1C2832

    oklch(27% 0.025 244)

Export this scale for Tailwind in the Tailwind colors tool

#304D63 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)#444D640.027
Deuteranopia (no green cones)#3D48630.022
Tritanopia (no blue cones)#1852540.042
Achromatopsia (no color)#4A4A4A0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D63

    #304D63

    oklch(40.7% 0.051 242.3)

  • #5E432C

    #5E432C

    oklch(40.7% 0.051 61)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D63

    #304D63

    oklch(40.7% 0.051 242.3)

  • #24515A

    #24515A

    oklch(40.7% 0.051 212.5)

  • #404865

    #404865

    oklch(40.7% 0.05 272.1)

Open the analogous palette in the generator

Split complementary

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

  • #304D63

    #304D63

    oklch(40.7% 0.051 242.3)

  • #623F38

    #623F38

    oklch(40.6% 0.051 31.8)

  • #534928

    #534928

    oklch(40.7% 0.051 93.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D63

    #304D63

    oklch(40.7% 0.051 242.3)

  • #613E47

    #613E47

    oklch(40.7% 0.051 2.8)

  • #454E2F

    #454E2F

    oklch(40.7% 0.05 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D63

    #304D63

    oklch(40.7% 0.051 242.3)

  • #5A3F56

    #5A3F56

    oklch(40.6% 0.052 331.7)

  • #5E432C

    #5E432C

    oklch(40.7% 0.051 61)

  • #34523C

    #34523C

    oklch(40.8% 0.051 152)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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