#1B4E9E#1B4E9E

#1B4E9E is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.141 H 259.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1B4E9E
RGBrgb(27, 78, 158)
HSLhsl(217, 71%, 36%)
HSVhsv(217, 83%, 62%)
CMYKcmyk(82.9%, 50.6%, 0%, 38%)
CIE-LABlab(34.29, 14.00, -48.20)
CIE-LCHlch(34.29, 50.19, 286.20°)
OKLaboklab(43.8% -0.0259 -0.1388)
OKLCHoklch(43.8% 0.141 259.4)
XYZxyz(9.3457, 8.1493, 33.4215)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E9E #9E6B1B
analogous
#1B909E #1B4E9E #291B9E
triadic
#1B4E9E #9E1B4E #4E9E1B
tetradic
#1B4E9E #9E1B90 #9E6B1B #1B9E29
square
#1B4E9E #9E1B90 #9E6B1B #1B9E29
split-complementary
#1B4E9E #9E291B #909E1B
monochromatic
#091A35 #12346A #1B4E9E #2468D2 #528AE1

Accessibility & contrast

On white

7.98
#1B4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1B4E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E9E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E9E#FFFFFF#000000##FFFFFF
##1B4E9E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4e9e;
/* rgb */ color: rgb(27, 78, 158);
/* oklch */ color: oklch(43.8% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7ebb',
    500: '#1b4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e9e;
$custom-light: #6e7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e9e",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 216.641,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.14115,
    "h": 259.4
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#1B4E9E
secondary
#C49751
accent
#A83AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1B4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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