#27288D#27288D

#27288D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.162 H 273.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#27288D
RGBrgb(39, 40, 141)
HSLhsl(239, 57%, 35%)
HSVhsv(239, 72%, 55%)
CMYKcmyk(72.3%, 71.6%, 0%, 44.7%)
CIE-LABlab(23.24, 34.29, -55.79)
CIE-LCHlch(23.24, 65.48, 301.57°)
OKLaboklab(35.26% 0.011 -0.1613)
OKLCHoklch(35.26% 0.162 273.9)
XYZxyz(6.4016, 3.8714, 25.6040)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27288D #8D8C27
analogous
#275B8D #27288D #59278D
triadic
#27288D #8D2728 #288D27
tetradic
#27288D #8D275B #8D8C27 #278D59
square
#27288D #8D275B #8D8C27 #278D59
split-complementary
#27288D #8D5927 #5B8D27
monochromatic
#0C0D2D #1A1A5D #27288D #3436BD #5C5ED2

Accessibility & contrast

On white

11.83
#27288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#27288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27288D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27288D#FFFFFF#000000##FFFFFF
##27288D1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27288d;
/* rgb */ color: rgb(39, 40, 141);
/* oklch */ color: oklch(35.3% 0.162 273.9);
Tailwind
colors: {
  custom: {
    50: '#7163af',
    500: '#27288d',
    950: '#000000',
  },
}
SCSS
$custom: #27288d;
$custom-light: #7163af;
$custom-dark: #000000;
JSON
{
  "hex": "#27288d",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 239.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35264,
    "c": 0.16167,
    "h": 273.9
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#27288D
secondary
#B7B659
accent
#DE48E0
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #27288D

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

Preview Lab → · Contrast checker → · Palette generator →

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