#1B4196#1B4196

#1B4196 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.146 H 263.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1B4196
RGBrgb(27, 65, 150)
HSLhsl(221, 69%, 35%)
HSVhsv(221, 82%, 59%)
CMYKcmyk(82%, 56.7%, 0%, 41.2%)
CIE-LABlab(29.95, 19.65, -50.39)
CIE-LCHlch(29.95, 54.09, 291.30°)
OKLaboklab(40.31% -0.0173 -0.1455)
OKLCHoklch(40.31% 0.146 263.2)
XYZxyz(7.8453, 6.2147, 29.6343)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4196 #96701B
analogous
#1B7F96 #1B4196 #321B96
triadic
#1B4196 #961B41 #41961B
tetradic
#1B4196 #961B7F #96701B #1B9632
square
#1B4196 #961B7F #96701B #1B9632
split-complementary
#1B4196 #96321B #7F961B
monochromatic
#08142E #122B62 #1B4196 #2457CA #4D7ADF

Accessibility & contrast

On white

9.36
#1B4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4196
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4196#FFFFFF#000000##FFFFFF
##1B41961.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4196;
/* rgb */ color: rgb(27, 65, 150);
/* oklch */ color: oklch(40.3% 0.146 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d75b6',
    500: '#1b4196',
    950: '#000000',
  },
}
SCSS
$custom: #1b4196;
$custom-light: #6d75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4196",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 221.463,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.14649,
    "h": 263.2
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#1B4196
secondary
#C19D4C
accent
#B63BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4196

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

Preview Lab → · Contrast checker → · Palette generator →

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