#27219C#27219C

#27219C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.188 H 273.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#27219C
RGBrgb(39, 33, 156)
HSLhsl(243, 65%, 37%)
HSVhsv(243, 79%, 61%)
CMYKcmyk(75%, 78.8%, 0%, 38.8%)
CIE-LABlab(23.40, 43.47, -64.78)
CIE-LCHlch(23.40, 78.02, 303.86°)
OKLaboklab(35.85% 0.0118 -0.1874)
OKLCHoklch(35.85% 0.188 273.6)
XYZxyz(7.3793, 3.9186, 31.8135)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27219C #969C21
analogous
#21599C #27219C #65219C
triadic
#27219C #9C2721 #219C27
tetradic
#27219C #9C2159 #969C21 #219C65
square
#27219C #9C2159 #969C21 #219C65
split-complementary
#27219C #9C6521 #599C21
monochromatic
#0E0C37 #1A1669 #27219C #342CCF #615BDC

Accessibility & contrast

On white

11.77
#27219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27219C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27219C#FFFFFF#000000##FFFFFF
##27219C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27219c;
/* rgb */ color: rgb(39, 33, 156);
/* oklch */ color: oklch(35.9% 0.188 273.6);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#27219c',
    950: '#000000',
  },
}
SCSS
$custom: #27219c;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#27219c",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 242.927,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.18779,
    "h": 273.6
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27219C

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

Preview Lab → · Contrast checker → · Palette generator →

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