#1B509D#1B509D

#1B509D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.137 H 258.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1B509D
RGBrgb(27, 80, 157)
HSLhsl(216, 71%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(82.8%, 49%, 0%, 38.4%)
CIE-LABlab(34.81, 12.25, -46.76)
CIE-LCHlch(34.81, 48.34, 284.68°)
OKLaboklab(44.18% -0.0276 -0.1345)
OKLCHoklch(44.18% 0.137 258.4)
XYZxyz(9.4042, 8.4035, 33.0181)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B509D #9D681B
analogous
#1B919D #1B509D #271B9D
triadic
#1B509D #9D1B50 #509D1B
tetradic
#1B509D #9D1B91 #9D681B #1B9D27
square
#1B509D #9D1B91 #9D681B #1B9D27
split-complementary
#1B509D #9D271B #919D1B
monochromatic
#091B35 #123569 #1B509D #246BD1 #518CE1

Accessibility & contrast

On white

7.83
#1B509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1B509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B509D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B509D#FFFFFF#000000##FFFFFF
##1B509D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b509d;
/* rgb */ color: rgb(27, 80, 157);
/* oklch */ color: oklch(44.2% 0.137 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e80ba',
    500: '#1b509d',
    950: '#000000',
  },
}
SCSS
$custom: #1b509d;
$custom-light: #6e80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b509d",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 215.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.13729,
    "h": 258.4
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#1B509D
secondary
#C49550
accent
#A43AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1B509D

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

Preview Lab → · Contrast checker → · Palette generator →

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