#27519C#27519C

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

Color values

HEX#27519C
RGBrgb(39, 81, 156)
HSLhsl(218, 60%, 38%)
HSVhsv(218, 75%, 61%)
CMYKcmyk(75%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.43, 12.60, -45.14)
CIE-LCHlch(35.43, 46.87, 285.59°)
OKLaboklab(44.75% -0.0206 -0.1295)
OKLCHoklch(44.75% 0.131 261)
XYZxyz(9.7777, 8.7154, 32.6130)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27519C #9C7227
analogous
#278B9C #27519C #38279C
triadic
#27519C #9C2751 #519C27
tetradic
#27519C #9C278B #9C7227 #279C38
square
#27519C #9C278B #9C7227 #279C38
split-complementary
#27519C #9C3827 #8B9C27
monochromatic
#0F1E3A #1B386B #27519C #346BCC #658ED8

Accessibility & contrast

On white

7.66
#27519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27519C
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27519C#FFFFFF#000000##FFFFFF
##27519C1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#084E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #27519c;
/* rgb */ color: rgb(39, 81, 156);
/* oklch */ color: oklch(44.7% 0.131 261.0);
Tailwind
colors: {
  custom: {
    50: '#7281ba',
    500: '#27519c',
    950: '#000000',
  },
}
SCSS
$custom: #27519c;
$custom-light: #7281ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27519c",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 218.462,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.13115,
    "h": 261
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27519C

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

Preview Lab → · Contrast checker → · Palette generator →

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