#1B41AD#1B41AD

#1B41AD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.178 H 264.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1B41AD
RGBrgb(27, 65, 173)
HSLhsl(224, 73%, 39%)
HSVhsv(224, 84%, 68%)
CMYKcmyk(84.4%, 62.4%, 0%, 32.2%)
CIE-LABlab(31.87, 28.76, -61.13)
CIE-LCHlch(31.87, 67.56, 295.20°)
OKLaboklab(42.35% -0.0163 -0.177)
OKLCHoklch(42.35% 0.178 264.7)
XYZxyz(9.8824, 7.0295, 40.3630)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B41AD #AD871B
analogous
#1B8AAD #1B41AD #3E1BAD
triadic
#1B41AD #AD1B41 #41AD1B
tetradic
#1B41AD #AD1B8A #AD871B #1BAD3E
square
#1B41AD #AD1B8A #AD871B #1BAD3E
split-complementary
#1B41AD #AD3E1B #8AAD1B
monochromatic
#0A1943 #132D78 #1B41AD #2857DD #5D80E6

Accessibility & contrast

On white

8.73
#1B41AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1B41AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B41AD
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B41AD#FFFFFF#000000##FFFFFF
##1B41AD1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b41ad;
/* rgb */ color: rgb(27, 65, 173);
/* oklch */ color: oklch(42.4% 0.178 264.7);
Tailwind
colors: {
  custom: {
    50: '#7375c6',
    500: '#1b41ad',
    950: '#000000',
  },
}
SCSS
$custom: #1b41ad;
$custom-light: #7375c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b41ad",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 224.384,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.17772,
    "h": 264.7
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#1B41AD
secondary
#CAAD5A
accent
#C038F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #1B41AD

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

Preview Lab → · Contrast checker → · Palette generator →

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