#272E7C

Closest named color: Marine Blue (#01386A). oklch(34.7% 0.131 273.5), rgb(39, 46, 124).

Aa

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

About this color

#272E7C is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.131 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.052 away. White text reads best on it, at 11.87:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.131)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.76:1
White text11.87:1

Values

HEX#272E7C
RGBrgb(39, 46, 124)
HSLhsl(235, 52%, 32%)
OKLCHoklch(34.7% 0.131 273.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 #272E7C 11.87:1 AAA Lc -100.4 Preferred for body text
Black text on #272E7C 1.76:1 Fails Lc 0.0 Not readable
#272E7C text on white 11.87:1 AAA Lc 96.8 Preferred for body text
#272E7C text on black 1.76: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 900.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FE

    oklch(93.6% 0.029 273.1)

  3. Step 200

    200

    #CDD7FE

    oklch(88.4% 0.055 273.9)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400

    #8397FF

    oklch(70.7% 0.153 273.6)

  6. Step 500

    500

    #6679FF

    oklch(63.1% 0.198 273.3)

  7. Step 600

    600

    #515CEF

    oklch(55.5% 0.218 273.6)

  8. Step 700

    700

    #424AD0

    oklch(49% 0.203 273.5)

  9. Step 800

    800

    #363EA8

    oklch(42.6% 0.168 273.6)

  10. Step 900

    900 (this color)

    #272E7C

    oklch(34.7% 0.131 273.5)

  11. Step 950

    950

    #1B214E

    oklch(27.1% 0.082 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#272E7C 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)#003B7F0.041
Deuteranopia (no green cones)#00337A0.034
Tritanopia (no blue cones)#0041500.107
Achromatopsia (no color)#3737370.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #272E7C

    #272E7C

    oklch(34.7% 0.131 273.5)

  • #463800

    #463800

    oklch(34.6% 0.071 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272E7C

    #272E7C

    oklch(34.7% 0.131 273.5)

  • #003D62

    #003D62

    oklch(34.7% 0.085 243.7)

  • #492170

    #492170

    oklch(34.8% 0.131 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #272E7C

    #272E7C

    oklch(34.7% 0.131 273.5)

  • #562F00

    #562F00

    oklch(34.8% 0.079 63.1)

  • #314000

    #314000

    oklch(34.6% 0.085 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272E7C

    #272E7C

    oklch(34.7% 0.131 273.5)

  • #6D1300

    #6D1300

    oklch(34.8% 0.127 33.6)

  • #004623

    #004623

    oklch(34.6% 0.087 153.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272E7C

    #272E7C

    oklch(34.7% 0.131 273.5)

  • #6B0A32

    #6B0A32

    oklch(34.6% 0.13 3.8)

  • #463800

    #463800

    oklch(34.6% 0.071 93.2)

  • #00443D

    #00443D

    oklch(34.7% 0.062 183.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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