#1B4096#1B4096

#1B4096 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.148 H 263.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1B4096
RGBrgb(27, 64, 150)
HSLhsl(222, 69%, 35%)
HSVhsv(222, 82%, 59%)
CMYKcmyk(82%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.67, 20.34, -50.85)
CIE-LCHlch(29.67, 54.77, 291.80°)
OKLaboklab(40.1% -0.0166 -0.1468)
OKLCHoklch(40.1% 0.148 263.5)
XYZxyz(7.7884, 6.1009, 29.6154)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4096 #96711B
analogous
#1B7E96 #1B4096 #331B96
triadic
#1B4096 #961B40 #40961B
tetradic
#1B4096 #961B7E #96711B #1B9633
square
#1B4096 #961B7E #96711B #1B9633
split-complementary
#1B4096 #96331B #7E961B
monochromatic
#08142E #122A62 #1B4096 #2456CA #4D79DF

Accessibility & contrast

On white

9.46
#1B4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4096
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4096#FFFFFF#000000##FFFFFF
##1B40961.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4096;
/* rgb */ color: rgb(27, 64, 150);
/* oklch */ color: oklch(40.1% 0.148 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d74b6',
    500: '#1b4096',
    950: '#000000',
  },
}
SCSS
$custom: #1b4096;
$custom-light: #6d74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4096",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 221.951,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.14777,
    "h": 263.5
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#1B4096
secondary
#C19E4C
accent
#B73BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4096

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

Preview Lab → · Contrast checker → · Palette generator →

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