#272E58

Closest named color: Prussian Blue (#1D3557). oklch(31.8% 0.075 274.2), rgb(39, 46, 88).

Aa

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

About this color

#272E58 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.075 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 12.97:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.61:1
White text12.97:1

Values

HEX#272E58
RGBrgb(39, 46, 88)
HSLhsl(231, 39%, 25%)
OKLCHoklch(31.8% 0.075 274.2)

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 #272E58 12.97:1 AAA Lc -102.4 Preferred for body text
Black text on #272E58 1.61:1 Fails Lc 0.0 Not readable
#272E58 text on white 12.97:1 AAA Lc 99.1 Preferred for body text
#272E58 text on black 1.61: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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FB

    oklch(88.5% 0.05 275.4)

  4. Step 300

    300

    #AFBDFB

    oklch(81% 0.089 274.4)

  5. Step 400

    400

    #8698F8

    oklch(70.7% 0.142 274.2)

  6. Step 500

    500

    #6A7BF5

    oklch(63.1% 0.181 274)

  7. Step 600

    600

    #5560E4

    oklch(55.6% 0.198 274.4)

  8. Step 700

    700

    #464EC6

    oklch(49% 0.184 274.5)

  9. Step 800

    800

    #3941A0

    oklch(42.7% 0.152 274.3)

  10. Step 900

    900

    #30387F

    oklch(37.6% 0.119 274.3)

  11. Step 950

    950 (this color)

    #272E58

    oklch(31.8% 0.075 274.2)

Export this scale for Tailwind in the Tailwind colors tool

#272E58 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)#1C335A0.019
Deuteranopia (no green cones)#172F570.021
Tritanopia (no blue cones)#12373E0.067
Achromatopsia (no color)#3131310.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #272E58

    #272E58

    oklch(31.8% 0.075 274.2)

  • #3D3100

    #3D3100

    oklch(31.7% 0.065 94)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272E58

    #272E58

    oklch(31.8% 0.075 274.2)

  • #043555

    #043555

    oklch(31.7% 0.075 244.1)

  • #3B2751

    #3B2751

    oklch(31.8% 0.076 304.4)

Open the analogous palette in the generator

Split complementary

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

  • #272E58

    #272E58

    oklch(31.8% 0.075 274.2)

  • #4B2900

    #4B2900

    oklch(31.8% 0.072 64.2)

  • #2A3804

    #2A3804

    oklch(31.7% 0.075 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272E58

    #272E58

    oklch(31.8% 0.075 274.2)

  • #522217

    #522217

    oklch(31.9% 0.075 34.2)

  • #063D20

    #063D20

    oklch(31.8% 0.075 154.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272E58

    #272E58

    oklch(31.8% 0.075 274.2)

  • #501F2E

    #501F2E

    oklch(31.6% 0.075 3.2)

  • #3D3100

    #3D3100

    oklch(31.7% 0.065 94)

  • #003B36

    #003B36

    oklch(31.7% 0.056 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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