#27288C#27288C

#27288C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.160 H 274.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#27288C
RGBrgb(39, 40, 140)
HSLhsl(239, 56%, 35%)
HSVhsv(239, 72%, 55%)
CMYKcmyk(72.1%, 71.4%, 0%, 45.1%)
CIE-LABlab(23.14, 33.93, -55.33)
CIE-LCHlch(23.14, 64.91, 301.52°)
OKLaboklab(35.16% 0.0112 -0.1599)
OKLCHoklch(35.16% 0.16 274)
XYZxyz(6.3275, 3.8418, 25.2139)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27288C #8C8B27
analogous
#275A8C #27288C #58278C
triadic
#27288C #8C2728 #288C27
tetradic
#27288C #8C275A #8C8B27 #278C58
square
#27288C #8C275A #8C8B27 #278C58
split-complementary
#27288C #8C5827 #5A8C27
monochromatic
#0C0D2C #1A1A5C #27288C #3436BC #5C5DD2

Accessibility & contrast

On white

11.88
#27288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27288C
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27288C#FFFFFF#000000##FFFFFF
##27288C1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27288c;
/* rgb */ color: rgb(39, 40, 140);
/* oklch */ color: oklch(35.2% 0.160 274.0);
Tailwind
colors: {
  custom: {
    50: '#7163af',
    500: '#27288c',
    950: '#000000',
  },
}
SCSS
$custom: #27288c;
$custom-light: #7163af;
$custom-dark: #000000;
JSON
{
  "hex": "#27288c",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 239.406,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35161,
    "c": 0.16034,
    "h": 274
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#27288C
secondary
#B7B658
accent
#DE48E0
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #27288C

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

Preview Lab → · Contrast checker → · Palette generator →

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