#27519D#27519D

#27519D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.133 H 261.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#27519D
RGBrgb(39, 81, 157)
HSLhsl(219, 60%, 38%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(75.2%, 48.4%, 0%, 38.4%)
CIE-LABlab(35.50, 12.99, -45.64)
CIE-LCHlch(35.50, 47.45, 285.88°)
OKLaboklab(44.82% -0.0204 -0.131)
OKLCHoklch(44.82% 0.133 261.1)
XYZxyz(9.8627, 8.7494, 33.0608)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27519D #9D7327
analogous
#278C9D #27519D #38279D
triadic
#27519D #9D2751 #519D27
tetradic
#27519D #9D278C #9D7327 #279D38
square
#27519D #9D278C #9D7327 #279D38
split-complementary
#27519D #9D3827 #8C9D27
monochromatic
#0F1E3B #1B386C #27519D #356BCD #668FD9

Accessibility & contrast

On white

7.64
#27519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#27519D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27519D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27519D#FFFFFF#000000##FFFFFF
##27519D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#054E9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #27519d;
/* rgb */ color: rgb(39, 81, 157);
/* oklch */ color: oklch(44.8% 0.133 261.1);
Tailwind
colors: {
  custom: {
    50: '#7281ba',
    500: '#27519d',
    950: '#000000',
  },
}
SCSS
$custom: #27519d;
$custom-light: #7281ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27519d",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 218.644,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.13257,
    "h": 261.1
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#27519D
secondary
#BF9D61
accent
#AB44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #27519D

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

Preview Lab → · Contrast checker → · Palette generator →

#27519D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva