#304671

Closest named color: Twilight Blue (#0A437A). oklch(39.7% 0.078 262.8), rgb(48, 70, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.24:1
White text9.37:1

Values

HEX#304671
RGBrgb(48, 70, 113)
HSLhsl(220, 40%, 32%)
OKLCHoklch(39.7% 0.078 262.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 #304671 9.37:1 AAA Lc -95.8 Preferred for body text
Black text on #304671 2.24:1 Fails Lc 12.4 Not readable
#304671 text on white 9.37:1 AAA Lc 91.5 Preferred for body text
#304671 text on black 2.24:1 Fails Lc -10.8 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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CEDAEF

    oklch(88.6% 0.032 261.7)

  4. Step 300

    300

    #ADC1E7

    oklch(80.9% 0.058 263.2)

  5. Step 400

    400

    #81A0DC

    oklch(70.6% 0.095 263.1)

  6. Step 500

    500

    #6288D2

    oklch(63.1% 0.12 262.8)

  7. Step 600

    600

    #4970BF

    oklch(55.5% 0.131 263)

  8. Step 700

    700

    #3A5EA5

    oklch(49.1% 0.121 262.5)

  9. Step 800

    800

    #304D86

    oklch(42.7% 0.101 262.6)

  10. Step 900

    900 (this color)

    #304671

    oklch(39.7% 0.078 262.8)

  11. Step 950

    950

    #19263F

    oklch(27% 0.05 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#304671 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)#354A730.015
Deuteranopia (no green cones)#2D44700.008
Tritanopia (no blue cones)#0A4F560.069
Achromatopsia (no color)#4646460.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #304671

    #304671

    oklch(39.7% 0.078 262.8)

  • #5B4207

    #5B4207

    oklch(39.6% 0.078 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304671

    #304671

    oklch(39.7% 0.078 262.8)

  • #084D6A

    #084D6A

    oklch(39.6% 0.079 233.4)

  • #493E6D

    #493E6D

    oklch(39.7% 0.078 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #304671

    #304671

    oklch(39.7% 0.078 262.8)

  • #673A1B

    #673A1B

    oklch(39.8% 0.077 53)

  • #484B11

    #484B11

    oklch(39.8% 0.078 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304671

    #304671

    oklch(39.7% 0.078 262.8)

  • #6B3433

    #6B3433

    oklch(39.7% 0.079 22.3)

  • #2C522A

    #2C522A

    oklch(39.9% 0.078 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304671

    #304671

    oklch(39.7% 0.078 262.8)

  • #67344B

    #67344B

    oklch(39.8% 0.079 352.8)

  • #5B4207

    #5B4207

    oklch(39.6% 0.078 82.6)

  • #005443

    #005443

    oklch(39.7% 0.076 173)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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