#1B419E#1B419E

#1B419E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.158 H 263.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1B419E
RGBrgb(27, 65, 158)
HSLhsl(223, 71%, 36%)
HSVhsv(223, 83%, 62%)
CMYKcmyk(82.9%, 58.9%, 0%, 38%)
CIE-LABlab(30.60, 22.86, -54.20)
CIE-LCHlch(30.60, 58.82, 292.86°)
OKLaboklab(41% -0.0168 -0.1567)
OKLCHoklch(41% 0.158 263.9)
XYZxyz(8.5116, 6.4812, 33.1435)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B419E #9E781B
analogous
#1B839E #1B419E #361B9E
triadic
#1B419E #9E1B41 #419E1B
tetradic
#1B419E #9E1B83 #9E781B #1B9E36
square
#1B419E #9E1B83 #9E781B #1B9E36
split-complementary
#1B419E #9E361B #839E1B
monochromatic
#091635 #122B6A #1B419E #2457D2 #527CE1

Accessibility & contrast

On white

9.14
#1B419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B419E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B419E#FFFFFF#000000##FFFFFF
##1B419E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b419e;
/* rgb */ color: rgb(27, 65, 158);
/* oklch */ color: oklch(41.0% 0.158 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f75bb',
    500: '#1b419e',
    950: '#000000',
  },
}
SCSS
$custom: #1b419e;
$custom-light: #6f75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b419e",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 222.595,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.15755,
    "h": 263.9
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#1B419E
secondary
#C4A351
accent
#BA3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B419E

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

Preview Lab → · Contrast checker → · Palette generator →

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