#3D5398

Closest named color: Denim Blue (#3B5B92). oklch(46% 0.115 268.3), rgb(61, 83, 152).

Aa

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

About this color

#3D5398 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.115 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.026 away. White text reads best on it, at 7.26:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.88:1
White text7.26:1

Values

HEX#3D5398
RGBrgb(61, 83, 152)
HSLhsl(225, 43%, 42%)
OKLCHoklch(46% 0.115 268.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 #3D5398 7.26:1 AAA Lc -89.9 Fine for body text
Black text on #3D5398 2.88:1 Fails Lc 19.0 Dividers and decoration only
#3D5398 text on white 7.26:1 AAA Lc 85.0 Fine for body text
#3D5398 text on black 2.88:1 Fails Lc -17.0 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 700.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  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

    #B1C0E6

    oklch(80.9% 0.056 268.2)

  5. Step 400

    400

    #899FD9

    oklch(70.8% 0.089 268.1)

  6. Step 500

    500

    #6C86CF

    oklch(63.1% 0.114 268.2)

  7. Step 600

    600

    #556EBC

    oklch(55.6% 0.125 268.7)

  8. Step 700

    700 (this color)

    #3D5398

    oklch(46% 0.115 268.3)

  9. Step 800

    800

    #394B83

    oklch(42.6% 0.096 268.7)

  10. Step 900

    900

    #313F69

    oklch(37.7% 0.074 268.7)

  11. Step 950

    950

    #1D253E

    oklch(27% 0.048 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#3D5398 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)#345B9B0.023
Deuteranopia (no green cones)#2753970.024
Tritanopia (no blue cones)#00626E0.101
Achromatopsia (no color)#5757570.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D5398

    #3D5398

    oklch(46% 0.115 268.3)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D5398

    #3D5398

    oklch(46% 0.115 268.3)

  • #005F8A

    #005F8A

    oklch(46.1% 0.102 237.9)

  • #61478F

    #61478F

    oklch(46% 0.115 298.4)

Open the analogous palette in the generator

Split complementary

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

  • #3D5398

    #3D5398

    oklch(46% 0.115 268.3)

  • #844600

    #844600

    oklch(46.1% 0.11 58.6)

  • #536000

    #536000

    oklch(46.2% 0.108 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D5398

    #3D5398

    oklch(46% 0.115 268.3)

  • #8D3A31

    #8D3A31

    oklch(46% 0.115 28.6)

  • #1C6930

    #1C6930

    oklch(46% 0.116 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D5398

    #3D5398

    oklch(46% 0.115 268.3)

  • #893857

    #893857

    oklch(46% 0.115 358.7)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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