#393F71

Closest named color: Twilight Blue (#0A437A). oklch(38.8% 0.085 276.5), rgb(57, 63, 113).

Aa

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

About this color

#393F71 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.085 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.047 away. White text reads best on it, at 9.88:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.12:1
White text9.88:1

Values

HEX#393F71
RGBrgb(57, 63, 113)
HSLhsl(234, 33%, 33%)
OKLCHoklch(38.8% 0.085 276.5)

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 #393F71 9.88:1 AAA Lc -97.0 Preferred for body text
Black text on #393F71 2.12:1 Fails Lc 11.1 Not readable
#393F71 text on white 9.88:1 AAA Lc 92.8 Preferred for body text
#393F71 text on black 2.12:1 Fails Lc -9.6 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 900.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F1

    oklch(88.5% 0.035 274.9)

  4. Step 300

    300

    #B5BEEA

    oklch(80.9% 0.063 275.9)

  5. Step 400

    400

    #909BE0

    oklch(70.8% 0.102 276.5)

  6. Step 500

    500

    #7681D7

    oklch(63.2% 0.129 276.5)

  7. Step 600

    600

    #5F68C4

    oklch(55.5% 0.141 276.6)

  8. Step 700

    700

    #4F56AA

    oklch(49.1% 0.132 276.8)

  9. Step 800

    800

    #404789

    oklch(42.6% 0.108 276.2)

  10. Step 900

    900 (this color)

    #393F71

    oklch(38.8% 0.085 276.5)

  11. Step 950

    950

    #202340

    oklch(26.9% 0.054 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#393F71 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)#2C45730.023
Deuteranopia (no green cones)#2741700.024
Tritanopia (no blue cones)#2449520.074
Achromatopsia (no color)#4343430.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #393F71

    #393F71

    oklch(38.8% 0.085 276.5)

  • #514400

    #514400

    oklch(38.8% 0.08 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393F71

    #393F71

    oklch(38.8% 0.085 276.5)

  • #16486F

    #16486F

    oklch(38.9% 0.084 246.2)

  • #503768

    #503768

    oklch(38.8% 0.085 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #393F71

    #393F71

    oklch(38.8% 0.085 276.5)

  • #623A02

    #623A02

    oklch(38.8% 0.085 67)

  • #394C13

    #394C13

    oklch(38.7% 0.084 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393F71

    #393F71

    oklch(38.8% 0.085 276.5)

  • #6A3222

    #6A3222

    oklch(38.8% 0.085 36.8)

  • #105131

    #105131

    oklch(38.6% 0.084 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393F71

    #393F71

    oklch(38.8% 0.085 276.5)

  • #692F3D

    #692F3D

    oklch(38.8% 0.084 6.6)

  • #514400

    #514400

    oklch(38.8% 0.08 96.7)

  • #00504A

    #00504A

    oklch(38.8% 0.068 186.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #393F71 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.