#27319C#27319C

#27319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.171 H 271.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#27319C
RGBrgb(39, 49, 156)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 61%)
CMYKcmyk(75%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.81, 33.98, -59.15)
CIE-LCHlch(26.81, 68.22, 299.87°)
OKLaboklab(38.29% 0.0037 -0.1711)
OKLCHoklch(38.29% 0.171 271.2)
XYZxyz(7.9337, 5.0274, 31.9983)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319C #9C9227
analogous
#276B9C #27319C #57279C
triadic
#27319C #9C2731 #319C27
tetradic
#27319C #9C276B #9C9227 #279C57
square
#27319C #9C276B #9C9227 #279C57
split-complementary
#27319C #9C5727 #6B9C27
monochromatic
#0F123A #1B226B #27319C #3441CC #656FD8

Accessibility & contrast

On white

10.47
#27319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#27319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319C#FFFFFF#000000##FFFFFF
##27319C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27319c;
/* rgb */ color: rgb(39, 49, 156);
/* oklch */ color: oklch(38.3% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#7469ba',
    500: '#27319c',
    950: '#000000',
  },
}
SCSS
$custom: #27319c;
$custom-light: #7469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27319c",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 234.872,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.17115,
    "h": 271.2
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#27319C
secondary
#BEB661
accent
#D645E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27319C

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

Preview Lab → · Contrast checker → · Palette generator →

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