#1B44A1#1B44A1

#1B44A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.158 H 263.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1B44A1
RGBrgb(27, 68, 161)
HSLhsl(222, 71%, 37%)
HSVhsv(222, 83%, 63%)
CMYKcmyk(83.2%, 57.8%, 0%, 36.9%)
CIE-LABlab(31.67, 22.00, -54.27)
CIE-LCHlch(31.67, 58.56, 292.07°)
OKLaboklab(41.88% -0.0185 -0.1568)
OKLCHoklch(41.88% 0.158 263.3)
XYZxyz(8.9498, 6.9394, 34.5790)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B44A1 #A1781B
analogous
#1B87A1 #1B44A1 #351BA1
triadic
#1B44A1 #A11B44 #44A11B
tetradic
#1B44A1 #A11B87 #A1781B #1BA135
square
#1B44A1 #A11B87 #A1781B #1BA135
split-complementary
#1B44A1 #A1351B #87A11B
monochromatic
#091838 #122E6D #1B44A1 #245AD5 #5480E2

Accessibility & contrast

On white

8.79
#1B44A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B44A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B44A1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B44A1#FFFFFF#000000##FFFFFF
##1B44A11.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b44a1;
/* rgb */ color: rgb(27, 68, 161);
/* oklch */ color: oklch(41.9% 0.158 263.3);
Tailwind
colors: {
  custom: {
    50: '#7077be',
    500: '#1b44a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b44a1;
$custom-light: #7077be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b44a1",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 161
  },
  "hsl": {
    "h": 221.642,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.15788,
    "h": 263.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#1B44A1
secondary
#C5A252
accent
#B73AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B44A1

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

Preview Lab → · Contrast checker → · Palette generator →

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