#27286D#27286D

#27286D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.117 H 276.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#27286D
RGBrgb(39, 40, 109)
HSLhsl(239, 47%, 29%)
HSVhsv(239, 64%, 43%)
CMYKcmyk(64.2%, 63.3%, 0%, 57.3%)
CIE-LABlab(20.25, 22.65, -40.38)
CIE-LCHlch(20.25, 46.30, 299.29°)
OKLaboklab(32.17% 0.0142 -0.1161)
OKLCHoklch(32.17% 0.117 276.9)
XYZxyz(4.3549, 3.0527, 14.8248)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286D #6D6C27
analogous
#274B6D #27286D #49276D
triadic
#27286D #6D2728 #286D27
tetradic
#27286D #6D274B #6D6C27 #276D49
square
#27286D #6D274B #6D6C27 #276D49
split-complementary
#27286D #6D4927 #4B6D27
monochromatic
#080817 #171740 #27286D #37399A #4F50C0

Accessibility & contrast

On white

13.04
#27286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27286D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286D#FFFFFF#000000##FFFFFF
##27286D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27286d;
/* rgb */ color: rgb(39, 40, 109);
/* oklch */ color: oklch(32.2% 0.117 276.9);
Tailwind
colors: {
  custom: {
    50: '#6a6297',
    500: '#27286d',
    950: '#000000',
  },
}
SCSS
$custom: #27286d;
$custom-light: #6a6297;
$custom-dark: #000000;
JSON
{
  "hex": "#27286d",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 239.143,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3217,
    "c": 0.117,
    "h": 276.9
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#27286D
secondary
#A09E50
accent
#D551D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27286D

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

Preview Lab → · Contrast checker → · Palette generator →

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