#1B409A#1B409A

#1B409A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.153 H 263.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1B409A
RGBrgb(27, 64, 154)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(82.5%, 58.4%, 0%, 39.6%)
CIE-LABlab(29.99, 21.94, -52.76)
CIE-LCHlch(29.99, 57.14, 292.58°)
OKLaboklab(40.44% -0.0164 -0.1524)
OKLCHoklch(40.44% 0.153 263.9)
XYZxyz(8.1160, 6.2319, 31.3407)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B409A #9A751B
analogous
#1B7F9A #1B409A #361B9A
triadic
#1B409A #9A1B40 #409A1B
tetradic
#1B409A #9A1B7F #9A751B #1B9A36
square
#1B409A #9A1B7F #9A751B #1B9A36
split-complementary
#1B409A #9A361B #7F9A1B
monochromatic
#091532 #122A66 #1B409A #2456CE #4F79E0

Accessibility & contrast

On white

9.35
#1B409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B409A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B409A#FFFFFF#000000##FFFFFF
##1B409A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b409a;
/* rgb */ color: rgb(27, 64, 154);
/* oklch */ color: oklch(40.4% 0.153 263.9);
Tailwind
colors: {
  custom: {
    50: '#6e74b9',
    500: '#1b409a',
    950: '#000000',
  },
}
SCSS
$custom: #1b409a;
$custom-light: #6e74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b409a",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 222.52,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.15332,
    "h": 263.9
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#1B409A
secondary
#C3A14E
accent
#B93BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B409A

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

Preview Lab → · Contrast checker → · Palette generator →

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