#305172

Closest named color: Deep Sea Blue (#015482). oklch(42.5% 0.068 249.7), rgb(48, 81, 114).

Aa

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

About this color

#305172 is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.068 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.036 away. White text reads best on it, at 8.24:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.54:1
White text8.24:1

Values

HEX#305172
RGBrgb(48, 81, 114)
HSLhsl(210, 41%, 32%)
OKLCHoklch(42.5% 0.068 249.7)

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 #305172 8.24:1 AAA Lc -93.0 Preferred for body text
Black text on #305172 2.54:1 Fails Lc 15.6 Dividers and decoration only
#305172 text on white 8.24:1 AAA Lc 88.4 Fine for body text
#305172 text on black 2.54:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CFDBE7

    oklch(88.6% 0.021 248.1)

  4. Step 300

    300

    #AEC3DA

    oklch(80.9% 0.04 250.7)

  5. Step 400

    400

    #83A4C7

    oklch(70.7% 0.063 250.2)

  6. Step 500

    500

    #638DB9

    oklch(63% 0.081 250.3)

  7. Step 600

    600

    #4977A5

    oklch(55.6% 0.088 249.7)

  8. Step 700

    700

    #3A648D

    oklch(49.1% 0.081 249.3)

  9. Step 800

    800 (this color)

    #305172

    oklch(42.5% 0.068 249.7)

  10. Step 900

    900

    #2B445D

    oklch(37.8% 0.053 249.4)

  11. Step 950

    950

    #1A2836

    oklch(27.1% 0.032 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#305172 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)#4352730.025
Deuteranopia (no green cones)#3B4C710.019
Tritanopia (no blue cones)#02595C0.060
Achromatopsia (no color)#4F4F4F0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #305172

    #305172

    oklch(42.5% 0.068 249.7)

  • #664722

    #664722

    oklch(42.4% 0.067 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305172

    #305172

    oklch(42.5% 0.068 249.7)

  • #175768

    #175768

    oklch(42.5% 0.068 219.7)

  • #474A73

    #474A73

    oklch(42.5% 0.068 279.9)

Open the analogous palette in the generator

Split complementary

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

  • #305172

    #305172

    oklch(42.5% 0.068 249.7)

  • #6E4132

    #6E4132

    oklch(42.5% 0.068 39.2)

  • #574F1F

    #574F1F

    oklch(42.5% 0.068 99.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305172

    #305172

    oklch(42.5% 0.068 249.7)

  • #6E3E46

    #6E3E46

    oklch(42.5% 0.068 9.6)

  • #42562D

    #42562D

    oklch(42.5% 0.068 130.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305172

    #305172

    oklch(42.5% 0.068 249.7)

  • #673F5A

    #673F5A

    oklch(42.4% 0.068 339.9)

  • #664722

    #664722

    oklch(42.4% 0.067 69.1)

  • #295A41

    #295A41

    oklch(42.6% 0.068 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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