#3D5187

Closest named color: Twilight (#4E518B). oklch(44.5% 0.092 267.3), rgb(61, 81, 135).

Aa

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

About this color

#3D5187 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.092 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.025 away. White text reads best on it, at 7.70:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.72:1
White text7.70:1

Values

HEX#3D5187
RGBrgb(61, 81, 135)
HSLhsl(224, 38%, 38%)
OKLCHoklch(44.5% 0.092 267.3)

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 #3D5187 7.70:1 AAA Lc -91.4 Preferred for body text
Black text on #3D5187 2.72:1 Fails Lc 17.4 Dividers and decoration only
#3D5187 text on white 7.70:1 AAA Lc 86.6 Fine for body text
#3D5187 text on black 2.72:1 Fails Lc -15.4 Dividers and decoration only

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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D0D9EE

    oklch(88.5% 0.031 267.2)

  4. Step 300

    300

    #B1C0E4

    oklch(80.8% 0.054 267.4)

  5. Step 400

    400

    #899FD7

    oklch(70.7% 0.086 267.6)

  6. Step 500

    500

    #6C87CD

    oklch(63.2% 0.11 267.2)

  7. Step 600

    600

    #546FB9

    oklch(55.5% 0.12 267.3)

  8. Step 700

    700

    #445DA0

    oklch(49.2% 0.112 266.9)

  9. Step 800

    800 (this color)

    #3D5187

    oklch(44.5% 0.092 267.3)

  10. Step 900

    900

    #304068

    oklch(37.8% 0.072 266.5)

  11. Step 950

    950

    #1C253D

    oklch(26.9% 0.047 267.6)

Export this scale for Tailwind in the Tailwind colors tool

#3D5187 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)#3B56890.014
Deuteranopia (no green cones)#3350860.013
Tritanopia (no blue cones)#185D650.084
Achromatopsia (no color)#5353530.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D5187

    #3D5187

    oklch(44.5% 0.092 267.3)

  • #695000

    #695000

    oklch(44.5% 0.091 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D5187

    #3D5187

    oklch(44.5% 0.092 267.3)

  • #0D5A80

    #0D5A80

    oklch(44.4% 0.092 237.3)

  • #5A4880

    #5A4880

    oklch(44.6% 0.091 297.4)

Open the analogous palette in the generator

Split complementary

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

  • #3D5187

    #3D5187

    oklch(44.5% 0.092 267.3)

  • #794518

    #794518

    oklch(44.5% 0.092 57.4)

  • #505A13

    #505A13

    oklch(44.4% 0.093 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D5187

    #3D5187

    oklch(44.5% 0.092 267.3)

  • #7F3D37

    #7F3D37

    oklch(44.4% 0.093 26.8)

  • #2C6134

    #2C6134

    oklch(44.4% 0.092 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D5187

    #3D5187

    oklch(44.5% 0.092 267.3)

  • #7B3C54

    #7B3C54

    oklch(44.4% 0.092 357.4)

  • #695000

    #695000

    oklch(44.5% 0.091 87.8)

  • #006253

    #006253

    oklch(44.4% 0.082 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3D5187 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.