#1B4996#1B4996

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

Color values

HEX#1B4996
RGBrgb(27, 73, 150)
HSLhsl(218, 69%, 35%)
HSVhsv(218, 82%, 59%)
CMYKcmyk(82%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.26, 14.16, -46.65)
CIE-LCHlch(32.26, 48.75, 286.89°)
OKLaboklab(42.06% -0.0232 -0.1343)
OKLCHoklch(42.06% 0.136 260.2)
XYZxyz(8.3376, 7.1991, 29.7984)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4996 #96681B
analogous
#1B8796 #1B4996 #2A1B96
triadic
#1B4996 #961B49 #49961B
tetradic
#1B4996 #961B87 #96681B #1B962A
square
#1B4996 #961B87 #96681B #1B962A
split-complementary
#1B4996 #962A1B #87961B
monochromatic
#08172E #123062 #1B4996 #2462CA #4D83DF

Accessibility & contrast

On white

8.61
#1B4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4996
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4996#FFFFFF#000000##FFFFFF
##1B49961.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4996;
/* rgb */ color: rgb(27, 73, 150);
/* oklch */ color: oklch(42.1% 0.136 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7bb5',
    500: '#1b4996',
    950: '#000000',
  },
}
SCSS
$custom: #1b4996;
$custom-light: #6d7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4996",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 217.561,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42063,
    "c": 0.13629,
    "h": 260.2
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#1B4996
secondary
#C1954C
accent
#AA3BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4996

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

Preview Lab → · Contrast checker → · Palette generator →

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