#1B4DA8#1B4DA8

#1B4DA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.156 H 261.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1B4DA8
RGBrgb(27, 77, 168)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 66%)
CMYKcmyk(83.9%, 54.2%, 0%, 34.1%)
CIE-LABlab(34.74, 18.70, -53.48)
CIE-LCHlch(34.74, 56.66, 289.27°)
OKLaboklab(44.37% -0.0239 -0.1543)
OKLCHoklch(44.37% 0.156 261.2)
XYZxyz(10.1712, 8.3667, 38.1170)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4DA8 #A8761B
analogous
#1B94A8 #1B4DA8 #2F1BA8
triadic
#1B4DA8 #A81B4D #4DA81B
tetradic
#1B4DA8 #A81B94 #A8761B #1BA82F
square
#1B4DA8 #A81B94 #A8761B #1BA82F
split-complementary
#1B4DA8 #A82F1B #94A81B
monochromatic
#0A1D3F #133573 #1B4DA8 #2465DC #598AE4

Accessibility & contrast

On white

7.85
#1B4DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1B4DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4DA8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4DA8#FFFFFF#000000##FFFFFF
##1B4DA81.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b4da8;
/* rgb */ color: rgb(27, 77, 168);
/* oklch */ color: oklch(44.4% 0.156 261.2);
Tailwind
colors: {
  custom: {
    50: '#717ec3',
    500: '#1b4da8',
    950: '#000000',
  },
}
SCSS
$custom: #1b4da8;
$custom-light: #717ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4da8",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 168
  },
  "hsl": {
    "h": 218.723,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.15616,
    "h": 261.2
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#1B4DA8
secondary
#C8A057
accent
#AE39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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