#394784

Closest named color: Cobalt (#1E488F). oklch(41.8% 0.103 271.6), rgb(57, 71, 132).

Aa

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

About this color

#394784 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.103 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.033 away. White text reads best on it, at 8.71:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.40:1
White text8.71:1

Values

HEX#394784
RGBrgb(57, 71, 132)
HSLhsl(229, 40%, 37%)
OKLCHoklch(41.8% 0.103 271.6)

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 #394784 8.71:1 AAA Lc -94.2 Preferred for body text
Black text on #394784 2.40:1 Fails Lc 14.3 Not readable
#394784 text on white 8.71:1 AAA Lc 89.7 Fine for body text
#394784 text on black 2.40:1 Fails Lc -12.5 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5E9F6

    oklch(93.5% 0.018 272.3)

  3. Step 200

    200

    #D1D8F0

    oklch(88.4% 0.034 272.8)

  4. Step 300

    300

    #B2BFE8

    oklch(80.8% 0.06 271.2)

  5. Step 400

    400

    #8B9DDD

    oklch(70.7% 0.096 271.7)

  6. Step 500

    500

    #6F84D4

    oklch(63.2% 0.123 271.4)

  7. Step 600

    600

    #586CC1

    oklch(55.6% 0.134 271.5)

  8. Step 700

    700

    #485AA6

    oklch(49.1% 0.123 271.2)

  9. Step 800

    800 (this color)

    #394784

    oklch(41.8% 0.103 271.6)

  10. Step 900

    900

    #333E6C

    oklch(37.8% 0.08 271.9)

  11. Step 950

    950

    #1E253F

    oklch(27.1% 0.049 271.4)

Export this scale for Tailwind in the Tailwind colors tool

#394784 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)#2C4E860.023
Deuteranopia (no green cones)#2348830.025
Tritanopia (no blue cones)#10545F0.091
Achromatopsia (no color)#4B4B4B0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #394784

    #394784

    oklch(41.8% 0.103 271.6)

  • #5E4A00

    #5E4A00

    oklch(41.8% 0.085 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #394784

    #394784

    oklch(41.8% 0.103 271.6)

  • #00517D

    #00517D

    oklch(41.7% 0.099 242.1)

  • #573D7B

    #573D7B

    oklch(41.8% 0.103 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #394784

    #394784

    oklch(41.8% 0.103 271.6)

  • #713E00

    #713E00

    oklch(41.8% 0.097 61.6)

  • #445400

    #445400

    oklch(41.7% 0.101 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #394784

    #394784

    oklch(41.8% 0.103 271.6)

  • #7B3327

    #7B3327

    oklch(41.8% 0.103 31.4)

  • #105C2E

    #105C2E

    oklch(41.9% 0.103 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #394784

    #394784

    oklch(41.8% 0.103 271.6)

  • #783148

    #783148

    oklch(41.9% 0.102 2.2)

  • #5E4A00

    #5E4A00

    oklch(41.8% 0.085 90.9)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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