#1B409E#1B409E

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

Color values

HEX#1B409E
RGBrgb(27, 64, 158)
HSLhsl(223, 71%, 36%)
HSVhsv(223, 83%, 62%)
CMYKcmyk(82.9%, 59.5%, 0%, 38%)
CIE-LABlab(30.32, 23.54, -54.65)
CIE-LCHlch(30.32, 59.50, 293.30°)
OKLaboklab(40.79% -0.0162 -0.158)
OKLCHoklch(40.79% 0.159 264.2)
XYZxyz(8.4547, 6.3674, 33.1245)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B409E #9E791B
analogous
#1B829E #1B409E #371B9E
triadic
#1B409E #9E1B40 #409E1B
tetradic
#1B409E #9E1B82 #9E791B #1B9E37
square
#1B409E #9E1B82 #9E791B #1B9E37
split-complementary
#1B409E #9E371B #829E1B
monochromatic
#091635 #122B6A #1B409E #2455D2 #527AE1

Accessibility & contrast

On white

9.24
#1B409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B409E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B409E#FFFFFF#000000##FFFFFF
##1B409E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b409e;
/* rgb */ color: rgb(27, 64, 158);
/* oklch */ color: oklch(40.8% 0.159 264.2);
Tailwind
colors: {
  custom: {
    50: '#6f74bb',
    500: '#1b409e',
    950: '#000000',
  },
}
SCSS
$custom: #1b409e;
$custom-light: #6f74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b409e",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 223.053,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.1588,
    "h": 264.2
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B409E

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

Preview Lab → · Contrast checker → · Palette generator →

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