#272855

Closest named color: Prussian Blue (#1D3557). oklch(30.2% 0.08 279.5), rgb(39, 40, 85).

Aa

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

About this color

#272855 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.080 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.80:1.

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

Values

HEX#272855
RGBrgb(39, 40, 85)
HSLhsl(239, 37%, 24%)
OKLCHoklch(30.2% 0.08 279.5)

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 #272855 13.80:1 AAA Lc -103.3 Preferred for body text
Black text on #272855 1.52:1 Fails Lc 0.0 Not readable
#272855 text on white 13.80:1 AAA Lc 100.3 Preferred for body text
#272855 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

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D1D6FC

    oklch(88.4% 0.053 279.4)

  4. Step 300

    300

    #B4BAFD

    oklch(80.8% 0.095 280.1)

  5. Step 400

    400

    #8E94FC

    oklch(70.7% 0.151 279.3)

  6. Step 500

    500

    #7675FA

    oklch(63.1% 0.193 279.7)

  7. Step 600

    600

    #6159E9

    oklch(55.6% 0.21 279.6)

  8. Step 700

    700

    #5148CA

    oklch(49.1% 0.194 279.6)

  9. Step 800

    800

    #423CA4

    oklch(42.7% 0.162 279.6)

  10. Step 900

    900

    #373582

    oklch(37.8% 0.126 279.7)

  11. Step 950

    950 (this color)

    #272855

    oklch(30.2% 0.08 279.5)

Export this scale for Tailwind in the Tailwind colors tool

#272855 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)#142F570.030
Deuteranopia (no green cones)#102B540.030
Tritanopia (no blue cones)#15323A0.070
Achromatopsia (no color)#2D2D2D0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #272855

    #272855

    oklch(30.2% 0.08 279.5)

  • #362E00

    #362E00

    oklch(30.1% 0.062 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272855

    #272855

    oklch(30.2% 0.08 279.5)

  • #043054

    #043054

    oklch(30.3% 0.079 249)

  • #3A214C

    #3A214C

    oklch(30.2% 0.08 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #272855

    #272855

    oklch(30.2% 0.08 279.5)

  • #432700

    #432700

    oklch(30.2% 0.066 69.1)

  • #213501

    #213501

    oklch(30% 0.079 129.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272855

    #272855

    oklch(30.2% 0.08 279.5)

  • #4E1D0B

    #4E1D0B

    oklch(30.2% 0.079 39.6)

  • #003822

    #003822

    oklch(30.1% 0.068 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272855

    #272855

    oklch(30.2% 0.08 279.5)

  • #4E1A25

    #4E1A25

    oklch(30.2% 0.079 10.2)

  • #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 #272855, closest first.

Similar named colors

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

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