#272854

Closest named color: Prussian Blue (#1D3557). oklch(30.1% 0.078 279.6), rgb(39, 40, 84).

Aa

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

About this color

#272854 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.078 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.040 away. White text reads best on it, at 13.83:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.51:1
White text13.83:1

Values

HEX#272854
RGBrgb(39, 40, 84)
HSLhsl(239, 37%, 24%)
OKLCHoklch(30.1% 0.078 279.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 #272854 13.83:1 AAA Lc -103.4 Preferred for body text
Black text on #272854 1.51:1 Fails Lc 0.0 Not readable
#272854 text on white 13.83:1 AAA Lc 100.3 Preferred for body text
#272854 text on black 1.51: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B4BBFC

    oklch(81% 0.092 279.4)

  5. Step 400

    400

    #8F94FA

    oklch(70.6% 0.148 279.8)

  6. Step 500

    500

    #7676F7

    oklch(63.1% 0.188 279.6)

  7. Step 600

    600

    #615AE6

    oklch(55.5% 0.205 279.6)

  8. Step 700

    700

    #5149C8

    oklch(49.1% 0.19 279.6)

  9. Step 800

    800

    #423DA2

    oklch(42.7% 0.158 279.6)

  10. Step 900

    900

    #373580

    oklch(37.6% 0.123 279.9)

  11. Step 950

    950 (this color)

    #272854

    oklch(30.1% 0.078 279.6)

Export this scale for Tailwind in the Tailwind colors tool

#272854 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)#152E560.028
Deuteranopia (no green cones)#112B530.030
Tritanopia (no blue cones)#16313A0.066
Achromatopsia (no color)#2D2D2D0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #272854

    #272854

    oklch(30.1% 0.078 279.6)

  • #362E00

    #362E00

    oklch(30.1% 0.062 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272854

    #272854

    oklch(30.1% 0.078 279.6)

  • #062F53

    #062F53

    oklch(30% 0.078 250.2)

  • #3A214B

    #3A214B

    oklch(30.1% 0.078 310)

Open the analogous palette in the generator

Split complementary

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

  • #272854

    #272854

    oklch(30.1% 0.078 279.6)

  • #432700

    #432700

    oklch(30.2% 0.066 69.1)

  • #213502

    #213502

    oklch(30.1% 0.078 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272854

    #272854

    oklch(30.1% 0.078 279.6)

  • #4D1D0C

    #4D1D0C

    oklch(30% 0.078 39.2)

  • #003822

    #003822

    oklch(30.1% 0.068 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272854

    #272854

    oklch(30.1% 0.078 279.6)

  • #4D1A25

    #4D1A25

    oklch(30% 0.078 9.8)

  • #362E00

    #362E00

    oklch(30.1% 0.062 98.8)

  • #003634

    #003634

    oklch(30.1% 0.052 190.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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