#272E5A

Closest named color: Prussian Blue (#1D3557). oklch(31.9% 0.078 274.3), rgb(39, 46, 90).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.62:1
White text12.92:1

Values

HEX#272E5A
RGBrgb(39, 46, 90)
HSLhsl(232, 40%, 25%)
OKLCHoklch(31.9% 0.078 274.3)

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 #272E5A 12.92:1 AAA Lc -102.3 Preferred for body text
Black text on #272E5A 1.62:1 Fails Lc 0.0 Not readable
#272E5A text on white 12.92:1 AAA Lc 99.0 Preferred for body text
#272E5A text on black 1.62: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

    #CED7FC

    oklch(88.4% 0.052 274.5)

  4. Step 300

    300

    #AEBDFD

    oklch(81% 0.092 274)

  5. Step 400

    400

    #8597FC

    oklch(70.6% 0.149 274.3)

  6. Step 500

    500

    #6A7AFA

    oklch(63.2% 0.189 274.3)

  7. Step 600

    600

    #545EE9

    oklch(55.6% 0.207 274.3)

  8. Step 700

    700

    #454CCA

    oklch(49% 0.192 274.4)

  9. Step 800

    800

    #3840A4

    oklch(42.8% 0.159 274)

  10. Step 900

    900

    #303882

    oklch(37.8% 0.123 274.2)

  11. Step 950

    950 (this color)

    #272E5A

    oklch(31.9% 0.078 274.3)

Export this scale for Tailwind in the Tailwind colors tool

#272E5A 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)#1B345C0.022
Deuteranopia (no green cones)#152F590.023
Tritanopia (no blue cones)#10383F0.071
Achromatopsia (no color)#3131310.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #272E5A

    #272E5A

    oklch(31.9% 0.078 274.3)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272E5A

    #272E5A

    oklch(31.9% 0.078 274.3)

  • #013657

    #013657

    oklch(32% 0.077 243.6)

  • #3C2753

    #3C2753

    oklch(32% 0.079 304.4)

Open the analogous palette in the generator

Split complementary

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

  • #272E5A

    #272E5A

    oklch(31.9% 0.078 274.3)

  • #4B2900

    #4B2900

    oklch(31.8% 0.072 64.2)

  • #2A3901

    #2A3901

    oklch(32% 0.079 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272E5A

    #272E5A

    oklch(31.9% 0.078 274.3)

  • #532115

    #532115

    oklch(31.9% 0.078 34.8)

  • #023E1F

    #023E1F

    oklch(32% 0.079 153.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272E5A

    #272E5A

    oklch(31.9% 0.078 274.3)

  • #521F2E

    #521F2E

    oklch(32% 0.078 4.2)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003C36

    #003C36

    oklch(32% 0.057 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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