#1B4DA1#1B4DA1

#1B4DA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.147 H 260.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1B4DA1
RGBrgb(27, 77, 161)
HSLhsl(218, 71%, 37%)
HSVhsv(218, 83%, 63%)
CMYKcmyk(83.2%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.22, 15.89, -50.13)
CIE-LCHlch(34.22, 52.59, 287.59°)
OKLaboklab(43.82% -0.0247 -0.1444)
OKLCHoklch(43.82% 0.147 260.3)
XYZxyz(9.5366, 8.1128, 34.7746)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4DA1 #A16F1B
analogous
#1B90A1 #1B4DA1 #2C1BA1
triadic
#1B4DA1 #A11B4D #4DA11B
tetradic
#1B4DA1 #A11B90 #A16F1B #1BA12C
square
#1B4DA1 #A11B90 #A16F1B #1BA12C
split-complementary
#1B4DA1 #A12C1B #90A11B
monochromatic
#091B38 #12346D #1B4DA1 #2466D5 #5489E2

Accessibility & contrast

On white

8.01
#1B4DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1B4DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4DA1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4DA1#FFFFFF#000000##FFFFFF
##1B4DA11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4da1;
/* rgb */ color: rgb(27, 77, 161);
/* oklch */ color: oklch(43.8% 0.147 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ebd',
    500: '#1b4da1',
    950: '#000000',
  },
}
SCSS
$custom: #1b4da1;
$custom-light: #6f7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4da1",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 217.612,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43815,
    "c": 0.14655,
    "h": 260.3
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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