#272A56

Closest named color: Prussian Blue (#1D3557). oklch(30.7% 0.078 277.8), rgb(39, 42, 86).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.53:1

Values

HEX#272A56
RGBrgb(39, 42, 86)
HSLhsl(236, 38%, 25%)
OKLCHoklch(30.7% 0.078 277.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 #272A56 13.53:1 AAA Lc -103.0 Preferred for body text
Black text on #272A56 1.55:1 Fails Lc 0.0 Not readable
#272A56 text on white 13.53:1 AAA Lc 99.9 Preferred for body text
#272A56 text on black 1.55: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

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FC

    oklch(88.6% 0.052 276.9)

  4. Step 300

    300

    #B2BBFC

    oklch(80.8% 0.092 278)

  5. Step 400

    400

    #8C95FB

    oklch(70.7% 0.148 278.1)

  6. Step 500

    500

    #7277F8

    oklch(63.1% 0.189 277.8)

  7. Step 600

    600

    #5D5CE7

    oklch(55.7% 0.205 277.7)

  8. Step 700

    700

    #4D4AC9

    oklch(49.1% 0.191 277.7)

  9. Step 800

    800

    #3F3EA3

    oklch(42.8% 0.159 277.8)

  10. Step 900

    900

    #353681

    oklch(37.7% 0.123 278.1)

  11. Step 950

    950 (this color)

    #272A56

    oklch(30.7% 0.078 277.8)

Export this scale for Tailwind in the Tailwind colors tool

#272A56 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)#1730580.026
Deuteranopia (no green cones)#122C550.028
Tritanopia (no blue cones)#14333B0.068
Achromatopsia (no color)#2E2E2E0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #272A56

    #272A56

    oklch(30.7% 0.078 277.8)

  • #382F00

    #382F00

    oklch(30.6% 0.063 97.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272A56

    #272A56

    oklch(30.7% 0.078 277.8)

  • #043155

    #043155

    oklch(30.6% 0.079 248.6)

  • #3A234E

    #3A234E

    oklch(30.7% 0.079 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #272A56

    #272A56

    oklch(30.7% 0.078 277.8)

  • #452800

    #452800

    oklch(30.7% 0.067 68.6)

  • #243602

    #243602

    oklch(30.6% 0.077 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272A56

    #272A56

    oklch(30.7% 0.078 277.8)

  • #4F1F0F

    #4F1F0F

    oklch(30.7% 0.077 38.6)

  • #003A21

    #003A21

    oklch(30.7% 0.072 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272A56

    #272A56

    oklch(30.7% 0.078 277.8)

  • #4F1C28

    #4F1C28

    oklch(30.8% 0.078 8.3)

  • #382F00

    #382F00

    oklch(30.6% 0.063 97.6)

  • #003834

    #003834

    oklch(30.7% 0.054 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #272A56 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.