#27519A#27519A

#27519A is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.128 H 260.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#27519A
RGBrgb(39, 81, 154)
HSLhsl(218, 60%, 38%)
HSVhsv(218, 75%, 60%)
CMYKcmyk(74.7%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.30, 11.82, -44.15)
CIE-LCHlch(35.30, 45.70, 284.99°)
OKLaboklab(44.6% -0.0209 -0.1266)
OKLCHoklch(44.6% 0.128 260.6)
XYZxyz(9.6098, 8.6482, 31.7284)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27519A #9A7027
analogous
#278A9A #27519A #37279A
triadic
#27519A #9A2751 #519A27
tetradic
#27519A #9A278A #9A7027 #279A37
square
#27519A #9A278A #9A7027 #279A37
split-complementary
#27519A #9A3727 #8A9A27
monochromatic
#0E1E38 #1B3769 #27519A #336BCB #648ED8

Accessibility & contrast

On white

7.69
#27519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#27519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27519A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27519A#FFFFFF#000000##FFFFFF
##27519A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#0F4E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #27519a;
/* rgb */ color: rgb(39, 81, 154);
/* oklch */ color: oklch(44.6% 0.128 260.6);
Tailwind
colors: {
  custom: {
    50: '#7181b8',
    500: '#27519a',
    950: '#000000',
  },
}
SCSS
$custom: #27519a;
$custom-light: #7181b8;
$custom-dark: #000000;
JSON
{
  "hex": "#27519a",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 218.087,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.12832,
    "h": 260.6
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#27519A
secondary
#BD9B5F
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #27519A

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

Preview Lab → · Contrast checker → · Palette generator →

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