#27519E#27519E

#27519E is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.134 H 261.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#27519E
RGBrgb(39, 81, 158)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(75.3%, 48.7%, 0%, 38%)
CIE-LABlab(35.56, 13.38, -46.13)
CIE-LCHlch(35.56, 48.03, 286.17°)
OKLaboklab(44.89% -0.0203 -0.1324)
OKLCHoklch(44.89% 0.134 261.3)
XYZxyz(9.9485, 8.7837, 33.5122)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27519E #9E7427
analogous
#278C9E #27519E #39279E
triadic
#27519E #9E2751 #519E27
tetradic
#27519E #9E278C #9E7427 #279E39
square
#27519E #9E278C #9E7427 #279E39
split-complementary
#27519E #9E3927 #8C9E27
monochromatic
#0F1F3C #1B386D #27519E #356BCD #668FD9

Accessibility & contrast

On white

7.62
#27519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#27519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27519E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27519E#FFFFFF#000000##FFFFFF
##27519E1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A1
Deuteranopia (green-blind)
#014F9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #27519e;
/* rgb */ color: rgb(39, 81, 158);
/* oklch */ color: oklch(44.9% 0.134 261.3);
Tailwind
colors: {
  custom: {
    50: '#7281bb',
    500: '#27519e',
    950: '#000000',
  },
}
SCSS
$custom: #27519e;
$custom-light: #7281bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27519e",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 218.824,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.13398,
    "h": 261.3
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#27519E
secondary
#BF9E62
accent
#AB44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #27519E

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

Preview Lab → · Contrast checker → · Palette generator →

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