#1B43A0#1B43A0

#1B43A0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.158 H 263.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1B43A0
RGBrgb(27, 67, 160)
HSLhsl(222, 71%, 37%)
HSVhsv(222, 83%, 63%)
CMYKcmyk(83.1%, 58.1%, 0%, 37.3%)
CIE-LABlab(31.31, 22.29, -54.24)
CIE-LCHlch(31.31, 58.64, 292.34°)
OKLaboklab(41.59% -0.0179 -0.1567)
OKLCHoklch(41.59% 0.158 263.5)
XYZxyz(8.8020, 6.7843, 34.0965)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B43A0 #A0781B
analogous
#1B86A0 #1B43A0 #361BA0
triadic
#1B43A0 #A01B43 #43A01B
tetradic
#1B43A0 #A01B86 #A0781B #1BA036
square
#1B43A0 #A01B86 #A0781B #1BA036
split-complementary
#1B43A0 #A0361B #86A01B
monochromatic
#091737 #122D6C #1B43A0 #2459D4 #537EE2

Accessibility & contrast

On white

8.91
#1B43A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B43A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B43A0
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B43A0#FFFFFF#000000##FFFFFF
##1B43A01.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b43a0;
/* rgb */ color: rgb(27, 67, 160);
/* oklch */ color: oklch(41.6% 0.158 263.5);
Tailwind
colors: {
  custom: {
    50: '#7076bd',
    500: '#1b43a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b43a0;
$custom-light: #7076bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b43a0",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 160
  },
  "hsl": {
    "h": 221.955,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41588,
    "c": 0.15777,
    "h": 263.5
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B43A0

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

Preview Lab → · Contrast checker → · Palette generator →

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