#1B3596#1B3596

#1B3596 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.162 H 266.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1B3596
RGBrgb(27, 53, 150)
HSLhsl(227, 69%, 35%)
HSVhsv(227, 82%, 59%)
CMYKcmyk(82%, 64.7%, 0%, 41.2%)
CIE-LABlab(26.68, 27.88, -55.73)
CIE-LCHlch(26.68, 62.31, 296.58°)
OKLaboklab(37.87% -0.0097 -0.1613)
OKLCHoklch(37.87% 0.162 266.6)
XYZxyz(7.2282, 4.9804, 29.4286)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3596 #967C1B
analogous
#1B7396 #1B3596 #3E1B96
triadic
#1B3596 #961B35 #35961B
tetradic
#1B3596 #961B73 #967C1B #1B963E
square
#1B3596 #961B73 #967C1B #1B963E
split-complementary
#1B3596 #963E1B #73961B
monochromatic
#08102E #122362 #1B3596 #2447CA #4D6BDF

Accessibility & contrast

On white

10.52
#1B3596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3596
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3596#FFFFFF#000000##FFFFFF
##1B35961.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3596;
/* rgb */ color: rgb(27, 53, 150);
/* oklch */ color: oklch(37.9% 0.162 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e6cb6',
    500: '#1b3596',
    950: '#000000',
  },
}
SCSS
$custom: #1b3596;
$custom-light: #6e6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3596",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 227.317,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37866,
    "c": 0.16159,
    "h": 266.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#1B3596
secondary
#C1A84C
accent
#C73BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3596

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

Preview Lab → · Contrast checker → · Palette generator →

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