#304068

Closest named color: Dark Grey Blue (#29465B). oklch(37.8% 0.072 266.5), rgb(48, 64, 104).

Aa

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

About this color

#304068 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.072 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.034 away. White text reads best on it, at 10.19:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.05:1
White text10.19:1

Values

HEX#304068
RGBrgb(48, 64, 104)
HSLhsl(223, 37%, 30%)
OKLCHoklch(37.8% 0.072 266.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 #304068 10.19:1 AAA Lc -97.7 Preferred for body text
Black text on #304068 2.05:1 Fails Lc 10.3 Not readable
#304068 text on white 10.19:1 AAA Lc 93.6 Preferred for body text
#304068 text on black 2.05:1 Fails Lc -8.9 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D0D9EE

    oklch(88.5% 0.031 267.2)

  4. Step 300

    300

    #B1C0E4

    oklch(80.8% 0.054 267.4)

  5. Step 400

    400

    #889FD7

    oklch(70.6% 0.086 267)

  6. Step 500

    500

    #6B87CC

    oklch(63.1% 0.109 266.5)

  7. Step 600

    600

    #5370B9

    oklch(55.7% 0.119 266.3)

  8. Step 700

    700

    #435DA0

    oklch(49.1% 0.112 266.4)

  9. Step 800

    800

    #374C81

    oklch(42.6% 0.092 266.3)

  10. Step 900

    900 (this color)

    #304068

    oklch(37.8% 0.072 266.5)

  11. Step 950

    950

    #1C263D

    oklch(27.1% 0.045 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#304068 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)#30446A0.012
Deuteranopia (no green cones)#2A3F670.009
Tritanopia (no blue cones)#17494F0.065
Achromatopsia (no color)#4141410.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #304068

    #304068

    oklch(37.8% 0.072 266.5)

  • #523F09

    #523F09

    oklch(37.8% 0.072 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304068

    #304068

    oklch(37.8% 0.072 266.5)

  • #114763

    #114763

    oklch(37.8% 0.072 236.5)

  • #463963

    #463963

    oklch(37.8% 0.071 297.1)

Open the analogous palette in the generator

Split complementary

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

  • #304068

    #304068

    oklch(37.8% 0.072 266.5)

  • #5E3717

    #5E3717

    oklch(37.8% 0.072 57.4)

  • #404614

    #404614

    oklch(37.7% 0.071 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304068

    #304068

    oklch(37.8% 0.072 266.5)

  • #63312D

    #63312D

    oklch(37.8% 0.073 25.8)

  • #264C2A

    #264C2A

    oklch(37.8% 0.072 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304068

    #304068

    oklch(37.8% 0.072 266.5)

  • #5F3043

    #5F3043

    oklch(37.7% 0.072 355.5)

  • #523F09

    #523F09

    oklch(37.8% 0.072 87.6)

  • #004E41

    #004E41

    oklch(37.9% 0.071 176.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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