#1B519E#1B519E

#1B519E is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.137 H 258.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1B519E
RGBrgb(27, 81, 158)
HSLhsl(215, 71%, 36%)
HSVhsv(215, 83%, 62%)
CMYKcmyk(82.9%, 48.7%, 0%, 38%)
CIE-LABlab(35.17, 11.98, -46.78)
CIE-LCHlch(35.17, 48.29, 284.37°)
OKLaboklab(44.48% -0.0282 -0.1345)
OKLCHoklch(44.48% 0.137 258.2)
XYZxyz(9.5637, 8.5853, 33.4942)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B519E #9E681B
analogous
#1B939E #1B519E #261B9E
triadic
#1B519E #9E1B51 #519E1B
tetradic
#1B519E #9E1B93 #9E681B #1B9E26
square
#1B519E #9E1B93 #9E681B #1B9E26
split-complementary
#1B519E #9E261B #939E1B
monochromatic
#091B35 #12366A #1B519E #246CD2 #528DE1

Accessibility & contrast

On white

7.73
#1B519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1B519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B519E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B519E#FFFFFF#000000##FFFFFF
##1B519E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b519e;
/* rgb */ color: rgb(27, 81, 158);
/* oklch */ color: oklch(44.5% 0.137 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e81bb',
    500: '#1b519e',
    950: '#000000',
  },
}
SCSS
$custom: #1b519e;
$custom-light: #6e81bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b519e",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 215.267,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.13743,
    "h": 258.2
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#1B519E
secondary
#C49551
accent
#A43AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1B519E

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

Preview Lab → · Contrast checker → · Palette generator →

#1B519E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva