#1B4B99#1B4B99

#1B4B99 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.138 H 259.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1B4B99
RGBrgb(27, 75, 153)
HSLhsl(217, 70%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(82.4%, 51%, 0%, 40%)
CIE-LABlab(33.06, 14.02, -47.18)
CIE-LCHlch(33.06, 49.21, 286.55°)
OKLaboklab(42.75% -0.0243 -0.1358)
OKLCHoklch(42.75% 0.138 259.9)
XYZxyz(8.7157, 7.5640, 31.1315)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B99 #99691B
analogous
#1B8A99 #1B4B99 #2A1B99
triadic
#1B4B99 #991B4B #4B991B
tetradic
#1B4B99 #991B8A #99691B #1B992A
square
#1B4B99 #991B8A #99691B #1B992A
split-complementary
#1B4B99 #992A1B #8A991B
monochromatic
#091831 #123165 #1B4B99 #2464CD #4F86E0

Accessibility & contrast

On white

8.36
#1B4B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B4B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B99
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B99#FFFFFF#000000##FFFFFF
##1B4B991.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4b99;
/* rgb */ color: rgb(27, 75, 153);
/* oklch */ color: oklch(42.7% 0.138 259.9);
Tailwind
colors: {
  custom: {
    50: '#6d7cb8',
    500: '#1b4b99',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b99;
$custom-light: #6d7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b99",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 217.143,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.13796,
    "h": 259.9
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#1B4B99
secondary
#C2964E
accent
#A93BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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