#1B409B#1B409B

#1B409B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.155 H 263.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1B409B
RGBrgb(27, 64, 155)
HSLhsl(223, 70%, 36%)
HSVhsv(223, 83%, 61%)
CMYKcmyk(82.6%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.07, 22.34, -53.23)
CIE-LCHlch(30.07, 57.73, 292.77°)
OKLaboklab(40.53% -0.0163 -0.1538)
OKLCHoklch(40.53% 0.155 263.9)
XYZxyz(8.1997, 6.2654, 31.7812)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B409B #9B761B
analogous
#1B809B #1B409B #361B9B
triadic
#1B409B #9B1B40 #409B1B
tetradic
#1B409B #9B1B80 #9B761B #1B9B36
square
#1B409B #9B1B80 #9B761B #1B9B36
split-complementary
#1B409B #9B361B #809B1B
monochromatic
#091533 #122A67 #1B409B #2456CF #507AE0

Accessibility & contrast

On white

9.32
#1B409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B409B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B409B#FFFFFF#000000##FFFFFF
##1B409B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b409b;
/* rgb */ color: rgb(27, 64, 155);
/* oklch */ color: oklch(40.5% 0.155 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f74b9',
    500: '#1b409b',
    950: '#000000',
  },
}
SCSS
$custom: #1b409b;
$custom-light: #6f74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b409b",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 222.656,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.15469,
    "h": 263.9
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#1B409B
secondary
#C3A14F
accent
#BA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B409B

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

Preview Lab → · Contrast checker → · Palette generator →

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