#27286C#27286C

#27286C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.116 H 277.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#27286C
RGBrgb(39, 40, 108)
HSLhsl(239, 47%, 29%)
HSVhsv(239, 64%, 42%)
CMYKcmyk(63.9%, 63%, 0%, 57.6%)
CIE-LABlab(20.17, 22.28, -39.87)
CIE-LCHlch(20.17, 45.68, 299.20°)
OKLaboklab(32.08% 0.0142 -0.1146)
OKLCHoklch(32.08% 0.116 277.1)
XYZxyz(4.3014, 3.0313, 14.5429)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286C #6C6B27
analogous
#274B6C #27286C #49276C
triadic
#27286C #6C2728 #286C27
tetradic
#27286C #6C274B #6C6B27 #276C49
square
#27286C #6C274B #6C6B27 #276C49
split-complementary
#27286C #6C4927 #4B6C27
monochromatic
#080816 #17173F #27286C #373999 #4E50BF

Accessibility & contrast

On white

13.07
#27286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27286C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286C#FFFFFF#000000##FFFFFF
##27286C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27286c;
/* rgb */ color: rgb(39, 40, 108);
/* oklch */ color: oklch(32.1% 0.116 277.1);
Tailwind
colors: {
  custom: {
    50: '#696297',
    500: '#27286c',
    950: '#000000',
  },
}
SCSS
$custom: #27286c;
$custom-light: #696297;
$custom-dark: #000000;
JSON
{
  "hex": "#27286c",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 239.13,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.11551,
    "h": 277.1
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#27286C
secondary
#9F9D50
accent
#D551D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #27286C

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

Preview Lab → · Contrast checker → · Palette generator →

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