#1B4D9B#1B4D9B

#1B4D9B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.138 H 259.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1B4D9B
RGBrgb(27, 77, 155)
HSLhsl(217, 70%, 36%)
HSVhsv(217, 83%, 61%)
CMYKcmyk(82.6%, 50.3%, 0%, 39.2%)
CIE-LABlab(33.79, 13.47, -47.21)
CIE-LCHlch(33.79, 49.09, 285.92°)
OKLaboklab(43.35% -0.0256 -0.1359)
OKLCHoklch(43.35% 0.138 259.3)
XYZxyz(9.0201, 7.9062, 32.0546)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D9B #9B691B
analogous
#1B8D9B #1B4D9B #291B9B
triadic
#1B4D9B #9B1B4D #4D9B1B
tetradic
#1B4D9B #9B1B8D #9B691B #1B9B29
square
#1B4D9B #9B1B8D #9B691B #1B9B29
split-complementary
#1B4D9B #9B291B #8D9B1B
monochromatic
#091933 #123367 #1B4D9B #2467CF #5088E0

Accessibility & contrast

On white

8.14
#1B4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B4D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D9B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D9B#FFFFFF#000000##FFFFFF
##1B4D9B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4d9b;
/* rgb */ color: rgb(27, 77, 155);
/* oklch */ color: oklch(43.3% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7eb9',
    500: '#1b4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d9b;
$custom-light: #6e7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d9b",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 216.563,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43349,
    "c": 0.13824,
    "h": 259.3
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#1B4D9B
secondary
#C3964F
accent
#A73BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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