#1B4D99#1B4D99

#1B4D99 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.135 H 259.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1B4D99
RGBrgb(27, 77, 153)
HSLhsl(216, 70%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(82.4%, 49.7%, 0%, 40%)
CIE-LABlab(33.65, 12.66, -46.23)
CIE-LCHlch(33.65, 47.93, 285.32°)
OKLaboklab(43.2% -0.0259 -0.133)
OKLCHoklch(43.2% 0.135 259)
XYZxyz(8.8535, 7.8396, 31.1774)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D99 #99671B
analogous
#1B8C99 #1B4D99 #281B99
triadic
#1B4D99 #991B4D #4D991B
tetradic
#1B4D99 #991B8C #99671B #1B9928
square
#1B4D99 #991B8C #99671B #1B9928
split-complementary
#1B4D99 #99281B #8C991B
monochromatic
#091931 #123365 #1B4D99 #2467CD #4F88E0

Accessibility & contrast

On white

8.18
#1B4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D99
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D99#FFFFFF#000000##FFFFFF
##1B4D991.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4d99;
/* rgb */ color: rgb(27, 77, 153);
/* oklch */ color: oklch(43.2% 0.135 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7eb8',
    500: '#1b4d99',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d99;
$custom-light: #6d7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d99",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 216.19,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.13546,
    "h": 259
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#1B4D99
secondary
#C2944E
accent
#A63BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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