#1B4EA1#1B4EA1

#1B4EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.145 H 259.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#1B4EA1
RGBrgb(27, 78, 161)
HSLhsl(217, 71%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(83.2%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.51, 15.21, -49.66)
CIE-LCHlch(34.51, 51.94, 287.03°)
OKLaboklab(44.04% -0.0254 -0.143)
OKLCHoklch(44.04% 0.145 259.9)
XYZxyz(9.6071, 8.2538, 34.7981)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4EA1 #A16E1B
analogous
#1B91A1 #1B4EA1 #2B1BA1
triadic
#1B4EA1 #A11B4E #4EA11B
tetradic
#1B4EA1 #A11B91 #A16E1B #1BA12B
square
#1B4EA1 #A11B91 #A16E1B #1BA12B
split-complementary
#1B4EA1 #A12B1B #91A11B
monochromatic
#091B38 #12356D #1B4EA1 #2467D5 #548AE2

Accessibility & contrast

On white

7.92
#1B4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4EA1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4EA1#FFFFFF#000000##FFFFFF
##1B4EA11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4ea1;
/* rgb */ color: rgb(27, 78, 161);
/* oklch */ color: oklch(44.0% 0.145 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7ebd',
    500: '#1b4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ea1;
$custom-light: #6f7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ea1",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 217.164,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44036,
    "c": 0.1453,
    "h": 259.9
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#1B4EA1
secondary
#C59A52
accent
#A93AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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