#27319B#27319B

#27319B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.170 H 271.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#27319B
RGBrgb(39, 49, 155)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 61%)
CMYKcmyk(74.8%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.72, 33.61, -58.70)
CIE-LCHlch(26.72, 67.65, 299.80°)
OKLaboklab(38.19% 0.0037 -0.1698)
OKLCHoklch(38.19% 0.17 271.3)
XYZxyz(7.8494, 4.9937, 31.5542)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319B #9B9127
analogous
#276B9B #27319B #57279B
triadic
#27319B #9B2731 #319B27
tetradic
#27319B #9B276B #9B9127 #279B57
square
#27319B #9B276B #9B9127 #279B57
split-complementary
#27319B #9B5727 #6B9B27
monochromatic
#0E1239 #1B226A #27319B #3341CC #646ED8

Accessibility & contrast

On white

10.51
#27319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#27319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319B#FFFFFF#000000##FFFFFF
##27319B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27319b;
/* rgb */ color: rgb(39, 49, 155);
/* oklch */ color: oklch(38.2% 0.170 271.3);
Tailwind
colors: {
  custom: {
    50: '#7469ba',
    500: '#27319b',
    950: '#000000',
  },
}
SCSS
$custom: #27319b;
$custom-light: #7469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27319b",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 234.828,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.16983,
    "h": 271.3
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#27319B
secondary
#BEB660
accent
#D545E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27319B

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

Preview Lab → · Contrast checker → · Palette generator →

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