#304675

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.084 264), rgb(48, 70, 117).

Aa

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

About this color

#304675 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.084 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.036 away. White text reads best on it, at 9.29:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.25:1
White text9.29:1

Values

HEX#304675
RGBrgb(48, 70, 117)
HSLhsl(221, 42%, 32%)
OKLCHoklch(40% 0.084 264)

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 #304675 9.29:1 AAA Lc -95.7 Preferred for body text
Black text on #304675 2.25:1 Fails Lc 12.6 Not readable
#304675 text on white 9.29:1 AAA Lc 91.3 Preferred for body text
#304675 text on black 2.25:1 Fails Lc -11.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

    #F2F5FB

    oklch(97% 0.009 264.5)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CDD9F1

    oklch(88.4% 0.036 264.4)

  4. Step 300

    300

    #ACC1EA

    oklch(80.9% 0.063 263.7)

  5. Step 400

    400

    #80A0E0

    oklch(70.7% 0.101 263.6)

  6. Step 500

    500

    #6187D7

    oklch(63.1% 0.128 263.9)

  7. Step 600

    600

    #486FC5

    oklch(55.6% 0.141 264)

  8. Step 700

    700

    #3A5CAA

    oklch(49% 0.131 264.4)

  9. Step 800

    800

    #304C8A

    oklch(42.8% 0.108 264.1)

  10. Step 900

    900 (this color)

    #304675

    oklch(40% 0.084 264)

  11. Step 950

    950

    #192640

    oklch(27.1% 0.052 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#304675 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)#334A770.013
Deuteranopia (no green cones)#2A44740.010
Tritanopia (no blue cones)#0250580.074
Achromatopsia (no color)#4747470.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #304675

    #304675

    oklch(40% 0.084 264)

  • #5C4300

    #5C4300

    oklch(39.9% 0.082 84.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304675

    #304675

    oklch(40% 0.084 264)

  • #004E6E

    #004E6E

    oklch(40% 0.084 234.5)

  • #4B3E70

    #4B3E70

    oklch(40.1% 0.083 294.3)

Open the analogous palette in the generator

Split complementary

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

  • #304675

    #304675

    oklch(40% 0.084 264)

  • #6A3915

    #6A3915

    oklch(39.9% 0.085 53.5)

  • #474C0A

    #474C0A

    oklch(39.9% 0.084 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304675

    #304675

    oklch(40% 0.084 264)

  • #6E3331

    #6E3331

    oklch(39.9% 0.084 23.6)

  • #285329

    #285329

    oklch(40% 0.084 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304675

    #304675

    oklch(40% 0.084 264)

  • #6A334B

    #6A334B

    oklch(40.1% 0.084 354)

  • #5C4300

    #5C4300

    oklch(39.9% 0.082 84.4)

  • #005544

    #005544

    oklch(40.1% 0.077 173.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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