#1B3896#1B3896

#1B3896 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.158 H 265.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1B3896
RGBrgb(27, 56, 150)
HSLhsl(226, 69%, 35%)
HSVhsv(226, 82%, 59%)
CMYKcmyk(82%, 62.7%, 0%, 41.2%)
CIE-LABlab(27.47, 25.83, -54.43)
CIE-LCHlch(27.47, 60.25, 295.39°)
OKLaboklab(38.45% -0.0115 -0.1575)
OKLCHoklch(38.45% 0.158 265.8)
XYZxyz(7.3692, 5.2625, 29.4756)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3896 #96791B
analogous
#1B7596 #1B3896 #3C1B96
triadic
#1B3896 #961B38 #38961B
tetradic
#1B3896 #961B75 #96791B #1B963C
square
#1B3896 #961B75 #96791B #1B963C
split-complementary
#1B3896 #963C1B #75961B
monochromatic
#08112E #122562 #1B3896 #244BCA #4D6FDF

Accessibility & contrast

On white

10.23
#1B3896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1B3896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3896
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3896#FFFFFF#000000##FFFFFF
##1B38961.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3896;
/* rgb */ color: rgb(27, 56, 150);
/* oklch */ color: oklch(38.5% 0.158 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e6eb6',
    500: '#1b3896',
    950: '#000000',
  },
}
SCSS
$custom: #1b3896;
$custom-light: #6e6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3896",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 225.854,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.15789,
    "h": 265.8
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#1B3896
secondary
#C1A54C
accent
#C33BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3896

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

Preview Lab → · Contrast checker → · Palette generator →

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