#27314E

Closest named color: Prussian Blue (#1D3557). oklch(31.8% 0.054 268.8), rgb(39, 49, 78).

Aa

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

About this color

#27314E is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.054 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.021 away. White text reads best on it, at 12.83:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.054)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.83:1

Values

HEX#27314E
RGBrgb(39, 49, 78)
HSLhsl(225, 33%, 23%)
OKLCHoklch(31.8% 0.054 268.8)

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 #27314E 12.83:1 AAA Lc -102.2 Preferred for body text
Black text on #27314E 1.63:1 Fails Lc 0.0 Not readable
#27314E text on white 12.83:1 AAA Lc 98.9 Preferred for body text
#27314E text on black 1.63:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AFC0EB

    oklch(80.9% 0.064 268.1)

  5. Step 400

    400

    #869EE1

    oklch(70.7% 0.102 268.6)

  6. Step 500

    500

    #6984D8

    oklch(63% 0.13 269)

  7. Step 600

    600

    #516CC6

    oklch(55.5% 0.143 268.8)

  8. Step 700

    700

    #425AAB

    oklch(49.1% 0.132 268.7)

  9. Step 800

    800

    #364A8A

    oklch(42.7% 0.109 268.5)

  10. Step 900

    900

    #2F3E6F

    oklch(37.7% 0.086 269.2)

  11. Step 950

    950 (this color)

    #27314E

    oklch(31.8% 0.054 268.8)

Export this scale for Tailwind in the Tailwind colors tool

#27314E 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)#26344F0.009
Deuteranopia (no green cones)#23304D0.007
Tritanopia (no blue cones)#19373C0.047
Achromatopsia (no color)#3232320.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #27314E

    #27314E

    oklch(31.8% 0.054 268.8)

  • #3E310D

    #3E310D

    oklch(32% 0.055 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27314E

    #27314E

    oklch(31.8% 0.054 268.8)

  • #14364B

    #14364B

    oklch(31.9% 0.054 238.9)

  • #362C4A

    #362C4A

    oklch(31.8% 0.054 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #27314E

    #27314E

    oklch(31.8% 0.054 268.8)

  • #472B14

    #472B14

    oklch(31.9% 0.055 58.4)

  • #303614

    #303614

    oklch(31.8% 0.054 117.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27314E

    #27314E

    oklch(31.8% 0.054 268.8)

  • #4A2722

    #4A2722

    oklch(31.7% 0.054 29)

  • #1D3A23

    #1D3A23

    oklch(31.8% 0.054 149.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27314E

    #27314E

    oklch(31.8% 0.054 268.8)

  • #482632

    #482632

    oklch(31.7% 0.054 358)

  • #3E310D

    #3E310D

    oklch(32% 0.055 88.8)

  • #083B33

    #083B33

    oklch(31.8% 0.053 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27314E 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.