#1B4AA1#1B4AA1

#1B4AA1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.150 H 261.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4AA1
RGBrgb(27, 74, 161)
HSLhsl(219, 71%, 37%)
HSVhsv(219, 83%, 63%)
CMYKcmyk(83.2%, 54%, 0%, 36.9%)
CIE-LABlab(33.36, 17.92, -51.52)
CIE-LCHlch(33.36, 54.55, 289.18°)
OKLaboklab(43.16% -0.0226 -0.1486)
OKLCHoklch(43.16% 0.15 261.4)
XYZxyz(9.3315, 7.7026, 34.7062)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4AA1 #A1721B
analogous
#1B8DA1 #1B4AA1 #2F1BA1
triadic
#1B4AA1 #A11B4A #4AA11B
tetradic
#1B4AA1 #A11B8D #A1721B #1BA12F
square
#1B4AA1 #A11B8D #A1721B #1BA12F
split-complementary
#1B4AA1 #A12F1B #8DA11B
monochromatic
#091A38 #12326D #1B4AA1 #2462D5 #5486E2

Accessibility & contrast

On white

8.27
#1B4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B4AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4AA1
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4AA1#FFFFFF#000000##FFFFFF
##1B4AA11.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4aa1;
/* rgb */ color: rgb(27, 74, 161);
/* oklch */ color: oklch(43.2% 0.150 261.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bbd',
    500: '#1b4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1b4aa1;
$custom-light: #6f7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4aa1",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 218.955,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.15032,
    "h": 261.4
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#1B4AA1
secondary
#C59D52
accent
#AF3AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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