#272E52

Closest named color: Prussian Blue (#1D3557). oklch(31.4% 0.065 273.8), rgb(39, 46, 82).

Aa

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

About this color

#272E52 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.065 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.024 away. White text reads best on it, at 13.13:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.065)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.13:1

Values

HEX#272E52
RGBrgb(39, 46, 82)
HSLhsl(230, 36%, 24%)
OKLCHoklch(31.4% 0.065 273.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 #272E52 13.13:1 AAA Lc -102.6 Preferred for body text
Black text on #272E52 1.59:1 Fails Lc 0.0 Not readable
#272E52 text on white 13.13:1 AAA Lc 99.4 Preferred for body text
#272E52 text on black 1.59: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D0D8F6

    oklch(88.6% 0.042 273.7)

  4. Step 300

    300

    #B0BEF3

    oklch(80.9% 0.077 273.1)

  5. Step 400

    400

    #889AED

    oklch(70.6% 0.123 273.6)

  6. Step 500

    500

    #6D7FE7

    oklch(63.2% 0.157 273.7)

  7. Step 600

    600

    #5665D6

    oklch(55.5% 0.173 273.7)

  8. Step 700

    700

    #4753B9

    oklch(49% 0.16 273.9)

  9. Step 800

    800

    #3A4596

    oklch(42.7% 0.132 273.6)

  10. Step 900

    900

    #313B77

    oklch(37.7% 0.102 273.4)

  11. Step 950

    950 (this color)

    #272E52

    oklch(31.4% 0.065 273.8)

Export this scale for Tailwind in the Tailwind colors tool

#272E52 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)#2032530.015
Deuteranopia (no green cones)#1C2F510.016
Tritanopia (no blue cones)#16363C0.058
Achromatopsia (no color)#3030300.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #272E52

    #272E52

    oklch(31.4% 0.065 273.8)

  • #3C3000

    #3C3000

    oklch(31.3% 0.064 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272E52

    #272E52

    oklch(31.4% 0.065 273.8)

  • #0D3450

    #0D3450

    oklch(31.3% 0.066 244.3)

  • #38284C

    #38284C

    oklch(31.3% 0.065 303.3)

Open the analogous palette in the generator

Split complementary

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

  • #272E52

    #272E52

    oklch(31.4% 0.065 273.8)

  • #482906

    #482906

    oklch(31.4% 0.065 63.7)

  • #2B360C

    #2B360C

    oklch(31.3% 0.064 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272E52

    #272E52

    oklch(31.4% 0.065 273.8)

  • #4D231A

    #4D231A

    oklch(31.3% 0.066 33.4)

  • #103B21

    #103B21

    oklch(31.5% 0.066 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272E52

    #272E52

    oklch(31.4% 0.065 273.8)

  • #4C222D

    #4C222D

    oklch(31.4% 0.065 4.9)

  • #3C3000

    #3C3000

    oklch(31.3% 0.064 93.7)

  • #003A34

    #003A34

    oklch(31.3% 0.056 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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