#1B4EA0#1B4EA0

#1B4EA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.144 H 259.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4EA0
RGBrgb(27, 78, 160)
HSLhsl(217, 71%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(83.1%, 51.2%, 0%, 37.3%)
CIE-LABlab(34.43, 14.81, -49.18)
CIE-LCHlch(34.43, 51.36, 286.76°)
OKLaboklab(43.96% -0.0256 -0.1416)
OKLCHoklch(43.96% 0.144 259.8)
XYZxyz(9.5192, 8.2187, 34.3355)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4EA0 #A06D1B
analogous
#1B91A0 #1B4EA0 #2A1BA0
triadic
#1B4EA0 #A01B4E #4EA01B
tetradic
#1B4EA0 #A01B91 #A06D1B #1BA02A
square
#1B4EA0 #A01B91 #A06D1B #1BA02A
split-complementary
#1B4EA0 #A02A1B #91A01B
monochromatic
#091B37 #12346C #1B4EA0 #2468D4 #538AE2

Accessibility & contrast

On white

7.94
#1B4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1B4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4EA0
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4EA0#FFFFFF#000000##FFFFFF
##1B4EA01.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4ea0;
/* rgb */ color: rgb(27, 78, 160);
/* oklch */ color: oklch(44.0% 0.144 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ebd',
    500: '#1b4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ea0;
$custom-light: #6f7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ea0",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 216.992,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43959,
    "c": 0.14392,
    "h": 259.8
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#1B4EA0
secondary
#C59952
accent
#A93AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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