#1B4A99#1B4A99

#1B4A99 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.139 H 260.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B4A99
RGBrgb(27, 74, 153)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 82%, 60%)
CMYKcmyk(82.4%, 51.6%, 0%, 40%)
CIE-LABlab(32.77, 14.70, -47.65)
CIE-LCHlch(32.77, 49.86, 287.14°)
OKLaboklab(42.52% -0.0236 -0.1372)
OKLCHoklch(42.52% 0.139 260.3)
XYZxyz(8.6485, 7.4294, 31.1090)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A99 #996A1B
analogous
#1B8999 #1B4A99 #2B1B99
triadic
#1B4A99 #991B4A #4A991B
tetradic
#1B4A99 #991B89 #996A1B #1B992B
square
#1B4A99 #991B89 #996A1B #1B992B
split-complementary
#1B4A99 #992B1B #89991B
monochromatic
#091831 #123165 #1B4A99 #2463CD #4F85E0

Accessibility & contrast

On white

8.45
#1B4A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B4A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A99
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A99#FFFFFF#000000##FFFFFF
##1B4A991.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4a99;
/* rgb */ color: rgb(27, 74, 153);
/* oklch */ color: oklch(42.5% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7bb8',
    500: '#1b4a99',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a99;
$custom-light: #6d7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a99",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 217.619,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.13923,
    "h": 260.3
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#1B4A99
secondary
#C2974E
accent
#AA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A99

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

Preview Lab → · Contrast checker → · Palette generator →

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