#1B41A0#1B41A0

#1B41A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.160 H 264.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#1B41A0
RGBrgb(27, 65, 160)
HSLhsl(223, 71%, 37%)
HSVhsv(223, 83%, 63%)
CMYKcmyk(83.1%, 59.4%, 0%, 37.3%)
CIE-LABlab(30.76, 23.65, -55.14)
CIE-LCHlch(30.76, 60.00, 293.22°)
OKLaboklab(41.18% -0.0167 -0.1594)
OKLCHoklch(41.18% 0.16 264)
XYZxyz(8.6852, 6.5506, 34.0575)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B41A0 #A07A1B
analogous
#1B84A0 #1B41A0 #381BA0
triadic
#1B41A0 #A01B41 #41A01B
tetradic
#1B41A0 #A01B84 #A07A1B #1BA038
square
#1B41A0 #A01B84 #A07A1B #1BA038
split-complementary
#1B41A0 #A0381B #84A01B
monochromatic
#091637 #122C6C #1B41A0 #2456D4 #537CE2

Accessibility & contrast

On white

9.09
#1B41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1B41A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B41A0
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B41A0#FFFFFF#000000##FFFFFF
##1B41A01.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b41a0;
/* rgb */ color: rgb(27, 65, 160);
/* oklch */ color: oklch(41.2% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#7075bd',
    500: '#1b41a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b41a0;
$custom-light: #7075bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b41a0",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 222.857,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.16028,
    "h": 264
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#1B41A0
secondary
#C5A452
accent
#BA3AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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