#1B3E9E#1B3E9E

#1B3E9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.161 H 264.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1B3E9E
RGBrgb(27, 62, 158)
HSLhsl(224, 71%, 36%)
HSVhsv(224, 83%, 62%)
CMYKcmyk(82.9%, 60.8%, 0%, 38%)
CIE-LABlab(29.78, 24.90, -55.53)
CIE-LCHlch(29.78, 60.86, 294.15°)
OKLaboklab(40.39% -0.0149 -0.1606)
OKLCHoklch(40.39% 0.161 264.7)
XYZxyz(8.3440, 6.1459, 33.0876)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E9E #9E7B1B
analogous
#1B809E #1B3E9E #391B9E
triadic
#1B3E9E #9E1B3E #3E9E1B
tetradic
#1B3E9E #9E1B80 #9E7B1B #1B9E39
square
#1B3E9E #9E1B80 #9E7B1B #1B9E39
split-complementary
#1B3E9E #9E391B #809E1B
monochromatic
#091535 #12296A #1B3E9E #2453D2 #5278E1

Accessibility & contrast

On white

9.42
#1B3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B3E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E9E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E9E#FFFFFF#000000##FFFFFF
##1B3E9E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3e9e;
/* rgb */ color: rgb(27, 62, 158);
/* oklch */ color: oklch(40.4% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f72bb',
    500: '#1b3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e9e;
$custom-light: #6f72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e9e",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 223.969,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.16131,
    "h": 264.7
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#1B3E9E
secondary
#C4A551
accent
#BE3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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