#1B4899#1B4899

#1B4899 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.142 H 261.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1B4899
RGBrgb(27, 72, 153)
HSLhsl(219, 70%, 35%)
HSVhsv(219, 82%, 60%)
CMYKcmyk(82.4%, 52.9%, 0%, 40%)
CIE-LABlab(32.18, 16.06, -48.59)
CIE-LCHlch(32.18, 51.17, 288.29°)
OKLaboklab(42.08% -0.022 -0.14)
OKLCHoklch(42.08% 0.142 261.1)
XYZxyz(8.5170, 7.1666, 31.0652)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4899 #996C1B
analogous
#1B8799 #1B4899 #2D1B99
triadic
#1B4899 #991B48 #48991B
tetradic
#1B4899 #991B87 #996C1B #1B992D
square
#1B4899 #991B87 #996C1B #1B992D
split-complementary
#1B4899 #992D1B #87991B
monochromatic
#091731 #123065 #1B4899 #2460CD #4F82E0

Accessibility & contrast

On white

8.63
#1B4899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4899
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4899#FFFFFF#000000##FFFFFF
##1B48991.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4899;
/* rgb */ color: rgb(27, 72, 153);
/* oklch */ color: oklch(42.1% 0.142 261.1);
Tailwind
colors: {
  custom: {
    50: '#6d7ab8',
    500: '#1b4899',
    950: '#000000',
  },
}
SCSS
$custom: #1b4899;
$custom-light: #6d7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4899",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 218.571,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.14176,
    "h": 261.1
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#1B4899
secondary
#C2994E
accent
#AD3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4899

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

Preview Lab → · Contrast checker → · Palette generator →

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