#27286B#27286B

#27286B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.114 H 277.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#27286B
RGBrgb(39, 40, 107)
HSLhsl(239, 47%, 29%)
HSVhsv(239, 64%, 42%)
CMYKcmyk(63.6%, 62.6%, 0%, 58%)
CIE-LABlab(20.08, 21.91, -39.36)
CIE-LCHlch(20.08, 45.05, 299.10°)
OKLaboklab(31.99% 0.0142 -0.1131)
OKLCHoklch(31.99% 0.114 277.2)
XYZxyz(4.2485, 3.0101, 14.2642)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286B #6B6A27
analogous
#274A6B #27286B #48276B
triadic
#27286B #6B2728 #286B27
tetradic
#27286B #6B274A #6B6A27 #276B48
square
#27286B #6B274A #6B6A27 #276B48
split-complementary
#27286B #6B4827 #4A6B27
monochromatic
#080816 #17173E #27286B #373998 #4E50BE

Accessibility & contrast

On white

13.11
#27286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27286B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286B#FFFFFF#000000##FFFFFF
##27286B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27286b;
/* rgb */ color: rgb(39, 40, 107);
/* oklch */ color: oklch(32.0% 0.114 277.2);
Tailwind
colors: {
  custom: {
    50: '#696296',
    500: '#27286b',
    950: '#000000',
  },
}
SCSS
$custom: #27286b;
$custom-light: #696296;
$custom-dark: #000000;
JSON
{
  "hex": "#27286b",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 239.118,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.11403,
    "h": 277.2
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27286B

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

Preview Lab → · Contrast checker → · Palette generator →

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