#1B4BA8#1B4BA8

#1B4BA8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.159 H 261.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1B4BA8
RGBrgb(27, 75, 168)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 66%)
CMYKcmyk(83.9%, 55.4%, 0%, 34.1%)
CIE-LABlab(34.17, 20.05, -54.40)
CIE-LCHlch(34.17, 57.97, 290.23°)
OKLaboklab(43.95% -0.0226 -0.157)
OKLCHoklch(43.95% 0.159 261.8)
XYZxyz(10.0334, 8.0911, 38.0711)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4BA8 #A8781B
analogous
#1B92A8 #1B4BA8 #311BA8
triadic
#1B4BA8 #A81B4B #4BA81B
tetradic
#1B4BA8 #A81B92 #A8781B #1BA831
square
#1B4BA8 #A81B92 #A8781B #1BA831
split-complementary
#1B4BA8 #A8311B #92A81B
monochromatic
#0A1C3F #133373 #1B4BA8 #2463DC #5988E4

Accessibility & contrast

On white

8.02
#1B4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4BA8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4BA8#FFFFFF#000000##FFFFFF
##1B4BA81.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4ba8;
/* rgb */ color: rgb(27, 75, 168);
/* oklch */ color: oklch(43.9% 0.159 261.8);
Tailwind
colors: {
  custom: {
    50: '#717cc3',
    500: '#1b4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ba8;
$custom-light: #717cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ba8",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 219.574,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.15865,
    "h": 261.8
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#1B4BA8
secondary
#C8A157
accent
#B139EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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