#394271

Closest named color: Twilight Blue (#0A437A). oklch(39.4% 0.08 274), rgb(57, 66, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.19:1
White text9.58:1

Values

HEX#394271
RGBrgb(57, 66, 113)
HSLhsl(230, 33%, 33%)
OKLCHoklch(39.4% 0.08 274)

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 #394271 9.58:1 AAA Lc -96.3 Preferred for body text
Black text on #394271 2.19:1 Fails Lc 11.9 Not readable
#394271 text on white 9.58:1 AAA Lc 92.1 Preferred for body text
#394271 text on black 2.19:1 Fails Lc -10.3 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

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B4BEE8

    oklch(80.8% 0.06 274.5)

  5. Step 400

    400

    #8E9CDD

    oklch(70.7% 0.097 274.3)

  6. Step 500

    500

    #7383D3

    oklch(63.2% 0.122 273.9)

  7. Step 600

    600

    #5C6BC1

    oklch(55.7% 0.134 273.8)

  8. Step 700

    700

    #4C58A6

    oklch(49% 0.125 274.3)

  9. Step 800

    800

    #3E4987

    oklch(42.8% 0.103 273.7)

  10. Step 900

    900 (this color)

    #394271

    oklch(39.4% 0.08 274)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#394271 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)#3048730.020
Deuteranopia (no green cones)#2B43700.019
Tritanopia (no blue cones)#244C540.071
Achromatopsia (no color)#4545450.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #394271

    #394271

    oklch(39.4% 0.08 274)

  • #544501

    #544501

    oklch(39.4% 0.08 94.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #394271

    #394271

    oklch(39.4% 0.08 274)

  • #184A6E

    #184A6E

    oklch(39.4% 0.081 244)

  • #503A69

    #503A69

    oklch(39.4% 0.081 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #394271

    #394271

    oklch(39.4% 0.08 274)

  • #643C0E

    #643C0E

    oklch(39.6% 0.081 64.3)

  • #3D4D17

    #3D4D17

    oklch(39.4% 0.08 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #394271

    #394271

    oklch(39.4% 0.08 274)

  • #6A3428

    #6A3428

    oklch(39.3% 0.08 33.7)

  • #1C5232

    #1C5232

    oklch(39.3% 0.079 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #394271

    #394271

    oklch(39.4% 0.08 274)

  • #693241

    #693241

    oklch(39.4% 0.08 4.1)

  • #544501

    #544501

    oklch(39.4% 0.08 94.7)

  • #00524A

    #00524A

    oklch(39.4% 0.07 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #394271 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.