#1B4A96#1B4A96

#1B4A96 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.135 H 259.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1B4A96
RGBrgb(27, 74, 150)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 59%)
CMYKcmyk(82%, 50.7%, 0%, 41.2%)
CIE-LABlab(32.55, 13.48, -46.17)
CIE-LCHlch(32.55, 48.10, 286.28°)
OKLaboklab(42.29% -0.024 -0.1329)
OKLCHoklch(42.29% 0.135 259.8)
XYZxyz(8.4038, 7.3316, 29.8205)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A96 #96671B
analogous
#1B8896 #1B4A96 #291B96
triadic
#1B4A96 #961B4A #4A961B
tetradic
#1B4A96 #961B88 #96671B #1B9629
square
#1B4A96 #961B88 #96671B #1B9629
split-complementary
#1B4A96 #96291B #88961B
monochromatic
#08172E #123062 #1B4A96 #2464CA #4D84DF

Accessibility & contrast

On white

8.51
#1B4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A96
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A96#FFFFFF#000000##FFFFFF
##1B4A961.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4a96;
/* rgb */ color: rgb(27, 74, 150);
/* oklch */ color: oklch(42.3% 0.135 259.8);
Tailwind
colors: {
  custom: {
    50: '#6d7bb5',
    500: '#1b4a96',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a96;
$custom-light: #6d7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a96",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 217.073,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.13503,
    "h": 259.8
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#1B4A96
secondary
#C1944C
accent
#A93BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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