#27219E#27219E

#27219E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 273.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#27219E
RGBrgb(39, 33, 158)
HSLhsl(243, 65%, 37%)
HSVhsv(243, 79%, 62%)
CMYKcmyk(75.3%, 79.1%, 0%, 38%)
CIE-LABlab(23.63, 44.12, -65.63)
CIE-LCHlch(23.63, 79.08, 303.91°)
OKLaboklab(36.08% 0.0113 -0.1899)
OKLCHoklch(36.08% 0.19 273.4)
XYZxyz(7.5501, 3.9869, 32.7128)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27219E #989E21
analogous
#215A9E #27219E #66219E
triadic
#27219E #9E2721 #219E27
tetradic
#27219E #9E215A #989E21 #219E66
square
#27219E #9E215A #989E21 #219E66
split-complementary
#27219E #9E6621 #5A9E21
monochromatic
#0E0C39 #1B166B #27219E #332CD1 #635CDD

Accessibility & contrast

On white

11.68
#27219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27219E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27219E#FFFFFF#000000##FFFFFF
##27219E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27219e;
/* rgb */ color: rgb(39, 33, 158);
/* oklch */ color: oklch(36.1% 0.190 273.4);
Tailwind
colors: {
  custom: {
    50: '#765fbc',
    500: '#27219e',
    950: '#000000',
  },
}
SCSS
$custom: #27219e;
$custom-light: #765fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#27219e",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 242.88,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36081,
    "c": 0.19022,
    "h": 273.4
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#27219E
secondary
#BCC159
accent
#E83FE0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27219E

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

Preview Lab → · Contrast checker → · Palette generator →

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