#272856

Closest named color: Prussian Blue (#1D3557). oklch(30.3% 0.081 279.4), rgb(39, 40, 86).

Aa

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

About this color

#272856 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.081 and its hue 279°. 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.77:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.52:1
White text13.77:1

Values

HEX#272856
RGBrgb(39, 40, 86)
HSLhsl(239, 38%, 25%)
OKLCHoklch(30.3% 0.081 279.4)

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 #272856 13.77:1 AAA Lc -103.3 Preferred for body text
Black text on #272856 1.52:1 Fails Lc 0.0 Not readable
#272856 text on white 13.77:1 AAA Lc 100.2 Preferred for body text
#272856 text on black 1.52: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

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B3BAFE

    oklch(80.8% 0.096 279.5)

  5. Step 400

    400

    #8E94FE

    oklch(70.8% 0.153 279.3)

  6. Step 500

    500

    #7574FC

    oklch(63% 0.197 279.4)

  7. Step 600

    600

    #6158EB

    oklch(55.6% 0.214 279.6)

  8. Step 700

    700

    #5147CD

    oklch(49.2% 0.199 279.5)

  9. Step 800

    800

    #423BA5

    oklch(42.7% 0.165 279.8)

  10. Step 900

    900

    #363483

    oklch(37.6% 0.129 279.3)

  11. Step 950

    950 (this color)

    #272856

    oklch(30.3% 0.081 279.4)

Export this scale for Tailwind in the Tailwind colors tool

#272856 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)#132F580.031
Deuteranopia (no green cones)#0E2B550.032
Tritanopia (no blue cones)#14323B0.070
Achromatopsia (no color)#2D2D2D0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #272856

    #272856

    oklch(30.3% 0.081 279.4)

  • #362F00

    #362F00

    oklch(30.3% 0.063 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272856

    #272856

    oklch(30.3% 0.081 279.4)

  • #033055

    #033055

    oklch(30.3% 0.081 249.3)

  • #3B214D

    #3B214D

    oklch(30.4% 0.082 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #272856

    #272856

    oklch(30.3% 0.081 279.4)

  • #432700

    #432700

    oklch(30.2% 0.066 69.1)

  • #213600

    #213600

    oklch(30.3% 0.081 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272856

    #272856

    oklch(30.3% 0.081 279.4)

  • #4F1D0A

    #4F1D0A

    oklch(30.3% 0.081 39.9)

  • #003922

    #003922

    oklch(30.4% 0.069 159.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272856

    #272856

    oklch(30.3% 0.081 279.4)

  • #4F1925

    #4F1925

    oklch(30.2% 0.082 9.9)

  • #362F00

    #362F00

    oklch(30.3% 0.063 100.4)

  • #003734

    #003734

    oklch(30.4% 0.053 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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