#2D5162

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.5% 0.05 230), rgb(45, 81, 98).

Aa

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

About this color

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

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

Values

HEX#2D5162
RGBrgb(45, 81, 98)
HSLhsl(199, 37%, 28%)
OKLCHoklch(41.5% 0.05 230)

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 #2D5162 8.51:1 AAA Lc -93.8 Preferred for body text
Black text on #2D5162 2.46:1 Fails Lc 14.8 Not readable
#2D5162 text on white 8.51:1 AAA Lc 89.2 Fine for body text
#2D5162 text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AEC5D0

    oklch(81% 0.029 228.2)

  5. Step 400

    400

    #83A7B9

    oklch(70.8% 0.047 229.9)

  6. Step 500

    500

    #6391A7

    oklch(63.2% 0.06 229.4)

  7. Step 600

    600

    #497B92

    oklch(55.7% 0.065 229.2)

  8. Step 700

    700

    #3A677D

    oklch(49.1% 0.061 231)

  9. Step 800

    800 (this color)

    #2D5162

    oklch(41.5% 0.05 230)

  10. Step 900

    900

    #2B4653

    oklch(37.8% 0.04 229.9)

  11. Step 950

    950

    #1A2930

    oklch(27.1% 0.024 228.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D5162 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)#4850630.035
Deuteranopia (no green cones)#414A620.032
Tritanopia (no blue cones)#0F56560.038
Achromatopsia (no color)#4D4D4D0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5162

    #2D5162

    oklch(41.5% 0.05 230)

  • #624433

    #624433

    oklch(41.6% 0.05 50.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5162

    #2D5162

    oklch(41.5% 0.05 230)

  • #265457

    #265457

    oklch(41.5% 0.05 201.1)

  • #3C4C67

    #3C4C67

    oklch(41.5% 0.05 260.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D5162

    #2D5162

    oklch(41.5% 0.05 230)

  • #654140

    #654140

    oklch(41.6% 0.051 21.2)

  • #5A492B

    #5A492B

    oklch(41.5% 0.05 80.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5162

    #2D5162

    oklch(41.5% 0.05 230)

  • #614050

    #614050

    oklch(41.5% 0.052 349)

  • #4D4E2D

    #4D4E2D

    oklch(41.4% 0.05 109.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5162

    #2D5162

    oklch(41.5% 0.05 230)

  • #58435D

    #58435D

    oklch(41.5% 0.05 319.8)

  • #624433

    #624433

    oklch(41.6% 0.05 50.5)

  • #3D5338

    #3D5338

    oklch(41.6% 0.051 139.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D5162 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.