#27219A#27219A

#27219A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.185 H 273.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#27219A
RGBrgb(39, 33, 154)
HSLhsl(243, 65%, 37%)
HSVhsv(243, 79%, 60%)
CMYKcmyk(74.7%, 78.6%, 0%, 39.6%)
CIE-LABlab(23.17, 42.82, -63.93)
CIE-LCHlch(23.17, 76.94, 303.81°)
OKLaboklab(35.63% 0.0122 -0.1849)
OKLCHoklch(35.63% 0.185 273.8)
XYZxyz(7.2114, 3.8514, 30.9289)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27219A #949A21
analogous
#21589A #27219A #64219A
triadic
#27219A #9A2721 #219A27
tetradic
#27219A #9A2158 #949A21 #219A64
square
#27219A #9A2158 #949A21 #219A64
split-complementary
#27219A #9A6421 #589A21
monochromatic
#0D0B35 #1A1668 #27219A #342CCC #605ADC

Accessibility & contrast

On white

11.86
#27219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#27219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27219A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27219A#FFFFFF#000000##FFFFFF
##27219A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27219a;
/* rgb */ color: rgb(39, 33, 154);
/* oklch */ color: oklch(35.6% 0.185 273.8);
Tailwind
colors: {
  custom: {
    50: '#755fb9',
    500: '#27219a',
    950: '#000000',
  },
}
SCSS
$custom: #27219a;
$custom-light: #755fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#27219a",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 242.975,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.18535,
    "h": 273.8
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#27219A
secondary
#BBC057
accent
#E840DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27219A

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

Preview Lab → · Contrast checker → · Palette generator →

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