#27219B#27219B

#27219B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.187 H 273.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#27219B
RGBrgb(39, 33, 155)
HSLhsl(243, 65%, 37%)
HSVhsv(243, 79%, 61%)
CMYKcmyk(74.8%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.29, 43.15, -64.36)
CIE-LCHlch(23.29, 77.48, 303.84°)
OKLaboklab(35.74% 0.012 -0.1862)
OKLCHoklch(35.74% 0.187 273.7)
XYZxyz(7.2950, 3.8849, 31.3694)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27219B #959B21
analogous
#21589B #27219B #64219B
triadic
#27219B #9B2721 #219B27
tetradic
#27219B #9B2158 #959B21 #219B64
square
#27219B #9B2158 #959B21 #219B64
split-complementary
#27219B #9B6421 #589B21
monochromatic
#0E0C36 #1A1669 #27219B #342CCD #615ADC

Accessibility & contrast

On white

11.82
#27219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#27219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27219B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27219B#FFFFFF#000000##FFFFFF
##27219B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27219b;
/* rgb */ color: rgb(39, 33, 155);
/* oklch */ color: oklch(35.7% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#27219b',
    950: '#000000',
  },
}
SCSS
$custom: #27219b;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#27219b",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 242.951,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.18658,
    "h": 273.7
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#27219B
secondary
#BBC058
accent
#E840E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27219B

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

Preview Lab → · Contrast checker → · Palette generator →

#27219B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva