#1B519F#1B519F

#1B519F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.139 H 258.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1B519F
RGBrgb(27, 81, 159)
HSLhsl(215, 71%, 36%)
HSVhsv(215, 83%, 62%)
CMYKcmyk(83%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.24, 12.39, -47.27)
CIE-LCHlch(35.24, 48.87, 284.68°)
OKLaboklab(44.56% -0.028 -0.136)
OKLCHoklch(44.56% 0.139 258.4)
XYZxyz(9.6501, 8.6199, 33.9494)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B519F #9F691B
analogous
#1B939F #1B519F #271B9F
triadic
#1B519F #9F1B51 #519F1B
tetradic
#1B519F #9F1B93 #9F691B #1B9F27
square
#1B519F #9F1B93 #9F691B #1B9F27
split-complementary
#1B519F #9F271B #939F1B
monochromatic
#091C36 #12366B #1B519F #246CD3 #538DE2

Accessibility & contrast

On white

7.71
#1B519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B519F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B519F#FFFFFF#000000##FFFFFF
##1B519F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b519f;
/* rgb */ color: rgb(27, 81, 159);
/* oklch */ color: oklch(44.6% 0.139 258.4);
Tailwind
colors: {
  custom: {
    50: '#6f81bc',
    500: '#1b519f',
    950: '#000000',
  },
}
SCSS
$custom: #1b519f;
$custom-light: #6f81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b519f",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 215.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.13882,
    "h": 258.4
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#1B519F
secondary
#C59551
accent
#A43AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B519F

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

Preview Lab → · Contrast checker → · Palette generator →

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