#27255E#27255E

#27255E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.099 H 280.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#27255E
RGBrgb(39, 37, 94)
HSLhsl(242, 44%, 26%)
HSVhsv(242, 61%, 37%)
CMYKcmyk(58.5%, 60.6%, 0%, 63.1%)
CIE-LABlab(18.20, 19.22, -33.89)
CIE-LCHlch(18.20, 38.96, 299.56°)
OKLaboklab(30.26% 0.0176 -0.0971)
OKLCHoklch(30.26% 0.099 280.3)
XYZxyz(3.5180, 2.5624, 10.8967)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27255E #5C5E25
analogous
#253F5E #27255E #43255E
triadic
#27255E #5E2725 #255E27
tetradic
#27255E #5E253F #5C5E25 #255E43
square
#27255E #5E253F #5C5E25 #255E43
split-complementary
#27255E #5E4325 #3F5E25
monochromatic
#090916 #151432 #27255E #39368A #4B48B6

Accessibility & contrast

On white

13.88
#27255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27255E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27255E#FFFFFF#000000##FFFFFF
##27255E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#0D323D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27255e;
/* rgb */ color: rgb(39, 37, 94);
/* oklch */ color: oklch(30.3% 0.099 280.3);
Tailwind
colors: {
  custom: {
    50: '#675f8c',
    500: '#27255e',
    950: '#000000',
  },
}
SCSS
$custom: #27255e;
$custom-light: #675f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#27255e",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 242.105,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30259,
    "c": 0.09867,
    "h": 280.3
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#27255E
secondary
#8F914D
accent
#D355CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #27255E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#27255E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva