#27288E#27288E

#27288E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.163 H 273.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#27288E
RGBrgb(39, 40, 142)
HSLhsl(239, 57%, 35%)
HSVhsv(239, 73%, 56%)
CMYKcmyk(72.5%, 71.8%, 0%, 44.3%)
CIE-LABlab(23.34, 34.64, -56.24)
CIE-LCHlch(23.34, 66.06, 301.63°)
OKLaboklab(35.37% 0.0109 -0.1626)
OKLCHoklch(35.37% 0.163 273.8)
XYZxyz(6.4764, 3.9013, 25.9977)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27288E #8E8D27
analogous
#275C8E #27288E #59278E
triadic
#27288E #8E2728 #288E27
tetradic
#27288E #8E275C #8E8D27 #278E59
square
#27288E #8E275C #8E8D27 #278E59
split-complementary
#27288E #8E5927 #5C8E27
monochromatic
#0D0D2E #1A1A5E #27288E #3436BE #5D5ED2

Accessibility & contrast

On white

11.80
#27288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#27288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27288E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27288E#FFFFFF#000000##FFFFFF
##27288E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27288e;
/* rgb */ color: rgb(39, 40, 142);
/* oklch */ color: oklch(35.4% 0.163 273.8);
Tailwind
colors: {
  custom: {
    50: '#7163b0',
    500: '#27288e',
    950: '#000000',
  },
}
SCSS
$custom: #27288e;
$custom-light: #7163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27288e",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 239.417,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.16298,
    "h": 273.8
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#27288E
secondary
#B8B759
accent
#DF48E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27288E

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

Preview Lab → · Contrast checker → · Palette generator →

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