#1B419A#1B419A

#1B419A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.152 H 263.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1B419A
RGBrgb(27, 65, 154)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 60%)
CMYKcmyk(82.5%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.27, 21.26, -52.31)
CIE-LCHlch(30.27, 56.46, 292.12°)
OKLaboklab(40.65% -0.017 -0.1511)
OKLCHoklch(40.65% 0.152 263.6)
XYZxyz(8.1729, 6.3457, 31.3597)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B419A #9A741B
analogous
#1B809A #1B419A #341B9A
triadic
#1B419A #9A1B41 #419A1B
tetradic
#1B419A #9A1B80 #9A741B #1B9A34
square
#1B419A #9A1B80 #9A741B #1B9A34
split-complementary
#1B419A #9A341B #809A1B
monochromatic
#091532 #122B66 #1B419A #2457CE #4F7BE0

Accessibility & contrast

On white

9.25
#1B419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B419A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B419A#FFFFFF#000000##FFFFFF
##1B419A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b419a;
/* rgb */ color: rgb(27, 65, 154);
/* oklch */ color: oklch(40.7% 0.152 263.6);
Tailwind
colors: {
  custom: {
    50: '#6e75b8',
    500: '#1b419a',
    950: '#000000',
  },
}
SCSS
$custom: #1b419a;
$custom-light: #6e75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b419a",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 222.047,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.15205,
    "h": 263.6
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#1B419A
secondary
#C3A04E
accent
#B83BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B419A

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

Preview Lab → · Contrast checker → · Palette generator →

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