#27319A#27319A

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

Color values

HEX#27319A
RGBrgb(39, 49, 154)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(74.7%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.62, 33.25, -58.25)
CIE-LCHlch(26.62, 67.07, 299.72°)
OKLaboklab(38.09% 0.0038 -0.1685)
OKLCHoklch(38.09% 0.169 271.3)
XYZxyz(7.7658, 4.9602, 31.1137)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319A #9A9027
analogous
#276A9A #27319A #57279A
triadic
#27319A #9A2731 #319A27
tetradic
#27319A #9A276A #9A9027 #279A57
square
#27319A #9A276A #9A9027 #279A57
split-complementary
#27319A #9A5727 #6A9A27
monochromatic
#0E1238 #1B2169 #27319A #3341CB #646ED8

Accessibility & contrast

On white

10.54
#27319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#27319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319A#FFFFFF#000000##FFFFFF
##27319A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27319a;
/* rgb */ color: rgb(39, 49, 154);
/* oklch */ color: oklch(38.1% 0.169 271.3);
Tailwind
colors: {
  custom: {
    50: '#7369b9',
    500: '#27319a',
    950: '#000000',
  },
}
SCSS
$custom: #27319a;
$custom-light: #7369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27319a",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 234.783,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38094,
    "c": 0.1685,
    "h": 271.3
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27319A

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

Preview Lab → · Contrast checker → · Palette generator →

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