#1B4B96#1B4B96

#1B4B96 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.134 H 259.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1B4B96
RGBrgb(27, 75, 150)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 59%)
CMYKcmyk(82%, 50%, 0%, 41.2%)
CIE-LABlab(32.85, 12.80, -45.70)
CIE-LCHlch(32.85, 47.46, 285.65°)
OKLaboklab(42.52% -0.0248 -0.1315)
OKLCHoklch(42.52% 0.134 259.3)
XYZxyz(8.4711, 7.4662, 29.8429)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B96 #96661B
analogous
#1B8996 #1B4B96 #281B96
triadic
#1B4B96 #961B4B #4B961B
tetradic
#1B4B96 #961B89 #96661B #1B9628
square
#1B4B96 #961B89 #96661B #1B9628
split-complementary
#1B4B96 #96281B #89961B
monochromatic
#08172E #123162 #1B4B96 #2465CA #4D86DF

Accessibility & contrast

On white

8.42
#1B4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4B96
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B96#FFFFFF#000000##FFFFFF
##1B4B961.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4b96;
/* rgb */ color: rgb(27, 75, 150);
/* oklch */ color: oklch(42.5% 0.134 259.3);
Tailwind
colors: {
  custom: {
    50: '#6d7cb5',
    500: '#1b4b96',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b96;
$custom-light: #6d7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b96",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 216.585,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.13377,
    "h": 259.3
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#1B4B96
secondary
#C1934C
accent
#A73BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B96

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

Preview Lab → · Contrast checker → · Palette generator →

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