#1B3496#1B3496

#1B3496 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.163 H 266.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1B3496
RGBrgb(27, 52, 150)
HSLhsl(228, 69%, 35%)
HSVhsv(228, 82%, 59%)
CMYKcmyk(82%, 65.3%, 0%, 41.2%)
CIE-LABlab(26.42, 28.55, -56.15)
CIE-LCHlch(26.42, 62.99, 296.95°)
OKLaboklab(37.67% -0.0092 -0.1625)
OKLCHoklch(37.67% 0.163 266.8)
XYZxyz(7.1831, 4.8902, 29.4136)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3496 #967D1B
analogous
#1B7296 #1B3496 #401B96
triadic
#1B3496 #961B34 #34961B
tetradic
#1B3496 #961B72 #967D1B #1B9640
square
#1B3496 #961B72 #967D1B #1B9640
split-complementary
#1B3496 #96401B #72961B
monochromatic
#08102E #122262 #1B3496 #2446CA #4D6ADF

Accessibility & contrast

On white

10.62
#1B3496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B3496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3496
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3496#FFFFFF#000000##FFFFFF
##1B34961.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3496;
/* rgb */ color: rgb(27, 52, 150);
/* oklch */ color: oklch(37.7% 0.163 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e6bb6',
    500: '#1b3496',
    950: '#000000',
  },
}
SCSS
$custom: #1b3496;
$custom-light: #6e6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3496",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 227.805,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.16281,
    "h": 266.8
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#1B3496
secondary
#C1A94C
accent
#C83BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B3496

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

Preview Lab → · Contrast checker → · Palette generator →

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