#1B4AA8#1B4AA8

#1B4AA8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.160 H 262.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1B4AA8
RGBrgb(27, 74, 168)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 66%)
CMYKcmyk(83.9%, 56%, 0%, 34.1%)
CIE-LABlab(33.89, 20.72, -54.85)
CIE-LCHlch(33.89, 58.63, 290.70°)
OKLaboklab(43.74% -0.0219 -0.1584)
OKLCHoklch(43.74% 0.16 262.1)
XYZxyz(9.9661, 7.9565, 38.0487)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4AA8 #A8791B
analogous
#1B90A8 #1B4AA8 #321BA8
triadic
#1B4AA8 #A81B4A #4AA81B
tetradic
#1B4AA8 #A81B90 #A8791B #1BA832
square
#1B4AA8 #A81B90 #A8791B #1BA832
split-complementary
#1B4AA8 #A8321B #90A81B
monochromatic
#0A1C3F #133373 #1B4AA8 #2462DC #5987E4

Accessibility & contrast

On white

8.10
#1B4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1B4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4AA8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4AA8#FFFFFF#000000##FFFFFF
##1B4AA81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4aa8;
/* rgb */ color: rgb(27, 74, 168);
/* oklch */ color: oklch(43.7% 0.160 262.1);
Tailwind
colors: {
  custom: {
    50: '#717bc3',
    500: '#1b4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #1b4aa8;
$custom-light: #717bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4aa8",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 220,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.15991,
    "h": 262.1
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#1B4AA8
secondary
#C8A257
accent
#B239EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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