#27286A#27286A

#27286A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.113 H 277.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#27286A
RGBrgb(39, 40, 106)
HSLhsl(239, 46%, 28%)
HSVhsv(239, 63%, 42%)
CMYKcmyk(63.2%, 62.3%, 0%, 58.4%)
CIE-LABlab(20.00, 21.54, -38.85)
CIE-LCHlch(20.00, 44.42, 299.01°)
OKLaboklab(31.9% 0.0142 -0.1116)
OKLCHoklch(31.9% 0.113 277.3)
XYZxyz(4.1962, 2.9892, 13.9887)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286A #6A6927
analogous
#27496A #27286A #47276A
triadic
#27286A #6A2728 #286A27
tetradic
#27286A #6A2749 #6A6927 #276A47
square
#27286A #6A2749 #6A6927 #276A47
split-complementary
#27286A #6A4727 #496A27
monochromatic
#080816 #17173D #27286A #373997 #4E4FBE

Accessibility & contrast

On white

13.14
#27286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#27286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27286A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286A#FFFFFF#000000##FFFFFF
##27286A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27286a;
/* rgb */ color: rgb(39, 40, 106);
/* oklch */ color: oklch(31.9% 0.113 277.3);
Tailwind
colors: {
  custom: {
    50: '#696295',
    500: '#27286a',
    950: '#000000',
  },
}
SCSS
$custom: #27286a;
$custom-light: #696295;
$custom-dark: #000000;
JSON
{
  "hex": "#27286a",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 239.104,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.11253,
    "h": 277.3
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#27286A
secondary
#9D9C50
accent
#D452D6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #27286A

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

Preview Lab → · Contrast checker → · Palette generator →

#27286A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva