#27519B#27519B

#27519B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.130 H 260.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#27519B
RGBrgb(39, 81, 155)
HSLhsl(218, 60%, 38%)
HSVhsv(218, 75%, 61%)
CMYKcmyk(74.8%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.36, 12.21, -44.65)
CIE-LCHlch(35.36, 46.29, 285.29°)
OKLaboklab(44.67% -0.0208 -0.1281)
OKLCHoklch(44.67% 0.13 260.8)
XYZxyz(9.6934, 8.6817, 32.1689)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27519B #9B7127
analogous
#278B9B #27519B #37279B
triadic
#27519B #9B2751 #519B27
tetradic
#27519B #9B278B #9B7127 #279B37
square
#27519B #9B278B #9B7127 #279B37
split-complementary
#27519B #9B3727 #8B9B27
monochromatic
#0E1E39 #1B376A #27519B #336BCC #648ED8

Accessibility & contrast

On white

7.67
#27519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#27519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27519B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27519B#FFFFFF#000000##FFFFFF
##27519B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#0C4E9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #27519b;
/* rgb */ color: rgb(39, 81, 155);
/* oklch */ color: oklch(44.7% 0.130 260.8);
Tailwind
colors: {
  custom: {
    50: '#7181b9',
    500: '#27519b',
    950: '#000000',
  },
}
SCSS
$custom: #27519b;
$custom-light: #7181b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27519b",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 218.276,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44674,
    "c": 0.12974,
    "h": 260.8
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#27519B
secondary
#BE9C60
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #27519B

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

Preview Lab → · Contrast checker → · Palette generator →

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