#1B41A1#1B41A1

#1B41A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.162 H 264.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1B41A1
RGBrgb(27, 65, 161)
HSLhsl(223, 71%, 37%)
HSVhsv(223, 83%, 63%)
CMYKcmyk(83.2%, 59.6%, 0%, 36.9%)
CIE-LABlab(30.84, 24.05, -55.61)
CIE-LCHlch(30.84, 60.58, 293.39°)
OKLaboklab(41.26% -0.0167 -0.1608)
OKLCHoklch(41.26% 0.162 264.1)
XYZxyz(8.7730, 6.5858, 34.5201)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B41A1 #A17B1B
analogous
#1B84A1 #1B41A1 #381BA1
triadic
#1B41A1 #A11B41 #41A11B
tetradic
#1B41A1 #A11B84 #A17B1B #1BA138
square
#1B41A1 #A11B84 #A17B1B #1BA138
split-complementary
#1B41A1 #A1381B #84A11B
monochromatic
#091738 #122C6D #1B41A1 #2456D5 #547CE2

Accessibility & contrast

On white

9.06
#1B41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1B41A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B41A1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B41A1#FFFFFF#000000##FFFFFF
##1B41A11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b41a1;
/* rgb */ color: rgb(27, 65, 161);
/* oklch */ color: oklch(41.3% 0.162 264.1);
Tailwind
colors: {
  custom: {
    50: '#7075be',
    500: '#1b41a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b41a1;
$custom-light: #7075be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b41a1",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 222.985,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.16165,
    "h": 264.1
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#1B41A1
secondary
#C5A552
accent
#BB3AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B41A1

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

Preview Lab → · Contrast checker → · Palette generator →

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