#27219F#27219F

#27219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.191 H 273.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#27219F
RGBrgb(39, 33, 159)
HSLhsl(243, 66%, 38%)
HSVhsv(243, 79%, 62%)
CMYKcmyk(75.5%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.74, 44.45, -66.05)
CIE-LCHlch(23.74, 79.61, 303.94°)
OKLaboklab(36.2% 0.0111 -0.1911)
OKLCHoklch(36.2% 0.191 273.3)
XYZxyz(7.6365, 4.0215, 33.1679)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27219F #999F21
analogous
#215A9F #27219F #66219F
triadic
#27219F #9F2721 #219F27
tetradic
#27219F #9F215A #999F21 #219F66
square
#27219F #9F215A #999F21 #219F66
split-complementary
#27219F #9F6621 #5A9F21
monochromatic
#0E0C3A #1B166C #27219F #332CD2 #635DDD

Accessibility & contrast

On white

11.64
#27219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#27219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27219F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27219F#FFFFFF#000000##FFFFFF
##27219F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27219f;
/* rgb */ color: rgb(39, 33, 159);
/* oklch */ color: oklch(36.2% 0.191 273.3);
Tailwind
colors: {
  custom: {
    50: '#765fbd',
    500: '#27219f',
    950: '#000000',
  },
}
SCSS
$custom: #27219f;
$custom-light: #765fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#27219f",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 242.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36195,
    "c": 0.19142,
    "h": 273.3
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#27219F
secondary
#BDC25A
accent
#E93FE1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27219F

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

Preview Lab → · Contrast checker → · Palette generator →

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