#1B409F#1B409F

#1B409F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 264.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#1B409F
RGBrgb(27, 64, 159)
HSLhsl(223, 71%, 36%)
HSVhsv(223, 83%, 62%)
CMYKcmyk(83%, 59.7%, 0%, 37.6%)
CIE-LABlab(30.40, 23.94, -55.12)
CIE-LCHlch(30.40, 60.09, 293.47°)
OKLaboklab(40.88% -0.0161 -0.1594)
OKLCHoklch(40.88% 0.16 264.2)
XYZxyz(8.5412, 6.4020, 33.5797)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B409F #9F7A1B
analogous
#1B829F #1B409F #381B9F
triadic
#1B409F #9F1B40 #409F1B
tetradic
#1B409F #9F1B82 #9F7A1B #1B9F38
square
#1B409F #9F1B82 #9F7A1B #1B9F38
split-complementary
#1B409F #9F381B #829F1B
monochromatic
#091636 #122B6B #1B409F #2455D3 #537BE2

Accessibility & contrast

On white

9.21
#1B409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B409F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B409F#FFFFFF#000000##FFFFFF
##1B409F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b409f;
/* rgb */ color: rgb(27, 64, 159);
/* oklch */ color: oklch(40.9% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#7074bc',
    500: '#1b409f',
    950: '#000000',
  },
}
SCSS
$custom: #1b409f;
$custom-light: #7074bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b409f",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 223.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.16017,
    "h": 264.2
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#1B409F
secondary
#C5A451
accent
#BB3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B409F

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

Preview Lab → · Contrast checker → · Palette generator →

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