#27288A#27288A

#27288A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.158 H 274.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#27288A
RGBrgb(39, 40, 138)
HSLhsl(239, 56%, 35%)
HSVhsv(239, 72%, 54%)
CMYKcmyk(71.7%, 71%, 0%, 45.9%)
CIE-LABlab(22.94, 33.22, -54.41)
CIE-LCHlch(22.94, 63.75, 301.40°)
OKLaboklab(34.96% 0.0114 -0.1573)
OKLCHoklch(34.96% 0.158 274.2)
XYZxyz(6.1814, 3.7833, 24.4443)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27288A #8A8927
analogous
#275A8A #27288A #58278A
triadic
#27288A #8A2728 #288A27
tetradic
#27288A #8A275A #8A8927 #278A58
square
#27288A #8A275A #8A8927 #278A58
split-complementary
#27288A #8A5827 #5A8A27
monochromatic
#0C0C2B #1A1A5A #27288A #3436BA #5B5CD1

Accessibility & contrast

On white

11.95
#27288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#27288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27288A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27288A#FFFFFF#000000##FFFFFF
##27288A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27288a;
/* rgb */ color: rgb(39, 40, 138);
/* oklch */ color: oklch(35.0% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#7062ad',
    500: '#27288a',
    950: '#000000',
  },
}
SCSS
$custom: #27288a;
$custom-light: #7062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27288a",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 239.394,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.15769,
    "h": 274.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#27288A
secondary
#B6B557
accent
#DE49DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27288A

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

Preview Lab → · Contrast checker → · Palette generator →

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