#3D38AE

Closest named color: Sapphire (#2138AB). oklch(42.6% 0.181 277.3), rgb(61, 56, 174).

Aa

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

About this color

#3D38AE is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.181 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.036 away. White text reads best on it, at 8.84:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.181)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.37:1
White text8.84:1

Values

HEX#3D38AE
RGBrgb(61, 56, 174)
HSLhsl(243, 51%, 45%)
OKLCHoklch(42.6% 0.181 277.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 #3D38AE 8.84:1 AAA Lc -94.1 Preferred for body text
Black text on #3D38AE 2.37:1 Fails Lc 14.4 Not readable
#3D38AE text on white 8.84:1 AAA Lc 89.6 Fine for body text
#3D38AE text on black 2.37:1 Fails Lc -12.7 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #CFD6FF

    oklch(88.4% 0.057 277.5)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8A95FF

    oklch(70.7% 0.154 277.2)

  6. Step 500

    500

    #7075FF

    oklch(63.1% 0.201 277.4)

  7. Step 600

    600

    #5B54F8

    oklch(55.6% 0.235 277.4)

  8. Step 700

    700

    #4B43D8

    oklch(49.1% 0.218 277.1)

  9. Step 800

    800 (this color)

    #3D38AE

    oklch(42.6% 0.181 277.3)

  10. Step 900

    900

    #33338A

    oklch(37.7% 0.141 277.2)

  11. Step 950

    950

    #1D1F51

    oklch(27% 0.09 276.8)

Export this scale for Tailwind in the Tailwind colors tool

#3D38AE 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)#004FB20.064
Deuteranopia (no green cones)#0045AC0.053
Tritanopia (no blue cones)#00576E0.148
Achromatopsia (no color)#4A4A4A0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D38AE

    #3D38AE

    oklch(42.6% 0.181 277.3)

  • #5C4E00

    #5C4E00

    oklch(42.5% 0.088 97.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D38AE

    #3D38AE

    oklch(42.6% 0.181 277.3)

  • #005288

    #005288

    oklch(42.7% 0.112 246.9)

  • #692399

    #692399

    oklch(42.5% 0.181 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #3D38AE

    #3D38AE

    oklch(42.6% 0.181 277.3)

  • #704300

    #704300

    oklch(42.6% 0.094 67.6)

  • #3E5900

    #3E5900

    oklch(42.6% 0.11 127.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D38AE

    #3D38AE

    oklch(42.6% 0.181 277.3)

  • #8B2700

    #8B2700

    oklch(42.7% 0.141 37.5)

  • #005F38

    #005F38

    oklch(42.7% 0.101 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D38AE

    #3D38AE

    oklch(42.6% 0.181 277.3)

  • #93003E

    #93003E

    oklch(42.5% 0.17 7.1)

  • #5C4E00

    #5C4E00

    oklch(42.5% 0.088 97.2)

  • #005B56

    #005B56

    oklch(42.5% 0.074 188.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3D38AE.

Similar named colors

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

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