#305164

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.8% 0.05 235), rgb(48, 81, 100).

Aa

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

About this color

#305164 is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.050 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.035 away. White text reads best on it, at 8.44:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.050)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.48:1
White text8.44:1

Values

HEX#305164
RGBrgb(48, 81, 100)
HSLhsl(202, 35%, 29%)
OKLCHoklch(41.8% 0.05 235)

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 #305164 8.44:1 AAA Lc -93.6 Preferred for body text
Black text on #305164 2.48:1 Fails Lc 15.0 Not readable
#305164 text on white 8.44:1 AAA Lc 89.0 Fine for body text
#305164 text on black 2.48:1 Fails Lc -13.2 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

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AFC4D1

    oklch(80.9% 0.029 234.9)

  5. Step 400

    400

    #85A6BA

    oklch(70.7% 0.047 234.9)

  6. Step 500

    500

    #6590A9

    oklch(63.1% 0.06 234.5)

  7. Step 600

    600

    #4C7A94

    oklch(55.7% 0.065 234.4)

  8. Step 700

    700

    #3D667E

    oklch(49% 0.06 235.5)

  9. Step 800

    800 (this color)

    #305164

    oklch(41.8% 0.05 235)

  10. Step 900

    900

    #2D4553

    oklch(37.7% 0.038 234.8)

  11. Step 950

    950

    #1A2931

    oklch(27.1% 0.025 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#305164 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)#4850650.032
Deuteranopia (no green cones)#414B640.027
Tritanopia (no blue cones)#1656570.039
Achromatopsia (no color)#4D4D4D0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #305164

    #305164

    oklch(41.8% 0.05 235)

  • #624532

    #624532

    oklch(41.7% 0.05 54.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305164

    #305164

    oklch(41.8% 0.05 235)

  • #275459

    #275459

    oklch(41.6% 0.05 205)

  • #3F4C68

    #3F4C68

    oklch(41.7% 0.05 265.1)

Open the analogous palette in the generator

Split complementary

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

  • #305164

    #305164

    oklch(41.8% 0.05 235)

  • #65423F

    #65423F

    oklch(41.8% 0.049 24.8)

  • #594A2C

    #594A2C

    oklch(41.7% 0.049 83.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305164

    #305164

    oklch(41.8% 0.05 235)

  • #63414E

    #63414E

    oklch(41.8% 0.051 354.9)

  • #4B5030

    #4B5030

    oklch(41.8% 0.05 115.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305164

    #305164

    oklch(41.8% 0.05 235)

  • #5B435C

    #5B435C

    oklch(41.8% 0.051 325.1)

  • #624532

    #624532

    oklch(41.7% 0.05 54.1)

  • #3B543C

    #3B543C

    oklch(41.8% 0.05 145.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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