#27295F

Closest named color: Marine (#042E60). oklch(31.2% 0.094 277.8), rgb(39, 41, 95).

Aa

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

About this color

#27295F is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.094 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.037 away. White text reads best on it, at 13.38:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.56:1
White text13.38:1

Values

HEX#27295F
RGBrgb(39, 41, 95)
HSLhsl(238, 42%, 26%)
OKLCHoklch(31.2% 0.094 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 #27295F 13.38:1 AAA Lc -102.8 Preferred for body text
Black text on #27295F 1.56:1 Fails Lc 0.0 Not readable
#27295F text on white 13.38:1 AAA Lc 99.6 Preferred for body text
#27295F text on black 1.56: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E8FF

    oklch(93.5% 0.031 277.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8B94FF

    oklch(70.6% 0.155 278)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C4FFE

    oklch(55.5% 0.248 277.9)

  8. Step 700

    700

    #4D3EDE

    oklch(49.1% 0.23 277.9)

  9. Step 800

    800

    #3E35B3

    oklch(42.7% 0.191 277.8)

  10. Step 900

    900

    #34318E

    oklch(37.8% 0.149 278)

  11. Step 950

    950 (this color)

    #27295F

    oklch(31.2% 0.094 277.8)

Export this scale for Tailwind in the Tailwind colors tool

#27295F 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)#0A31610.036
Deuteranopia (no green cones)#012D5E0.039
Tritanopia (no blue cones)#0B353F0.082
Achromatopsia (no color)#2F2F2F0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #27295F

    #27295F

    oklch(31.2% 0.094 277.8)

  • #3A3100

    #3A3100

    oklch(31.3% 0.065 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27295F

    #27295F

    oklch(31.2% 0.094 277.8)

  • #003358

    #003358

    oklch(31.3% 0.083 247.2)

  • #3E2055

    #3E2055

    oklch(31.1% 0.095 307.9)

Open the analogous palette in the generator

Split complementary

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

  • #27295F

    #27295F

    oklch(31.2% 0.094 277.8)

  • #472900

    #472900

    oklch(31.2% 0.068 68.1)

  • #253800

    #253800

    oklch(31.2% 0.081 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27295F

    #27295F

    oklch(31.2% 0.094 277.8)

  • #561A06

    #561A06

    oklch(31.1% 0.094 37.7)

  • #003B22

    #003B22

    oklch(31% 0.072 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27295F

    #27295F

    oklch(31.2% 0.094 277.8)

  • #561628

    #561628

    oklch(31.2% 0.095 7.6)

  • #3A3100

    #3A3100

    oklch(31.3% 0.065 98)

  • #003936

    #003936

    oklch(31.1% 0.054 189)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27295F 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.