#1A219D#1A219D

#1A219D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.192 H 269.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1A219D
RGBrgb(26, 33, 157)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 83%, 62%)
CMYKcmyk(83.4%, 79%, 0%, 38.4%)
CIE-LABlab(22.80, 42.90, -66.42)
CIE-LCHlch(22.80, 79.07, 302.86°)
OKLaboklab(35.27% -0.0032 -0.1924)
OKLCHoklch(35.27% 0.192 269)
XYZxyz(7.0536, 3.7408, 32.2420)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A219D #9D961A
analogous
#1A629D #1A219D #541A9D
triadic
#1A219D #9D1A21 #219D1A
tetradic
#1A219D #9D1A62 #9D961A #1A9D54
square
#1A219D #9D1A62 #9D961A #1A9D54
split-complementary
#1A219D #9D541A #629D1A
monochromatic
#090B34 #111668 #1A219D #232CD2 #4F57E2

Accessibility & contrast

On white

12.01
#1A219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A219D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A219D#FFFFFF#000000##FFFFFF
##1A219D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a219d;
/* rgb */ color: rgb(26, 33, 157);
/* oklch */ color: oklch(35.3% 0.192 269.0);
Tailwind
colors: {
  custom: {
    50: '#725ebb',
    500: '#1a219d',
    950: '#000000',
  },
}
SCSS
$custom: #1a219d;
$custom-light: #725ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a219d",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 236.794,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35269,
    "c": 0.19245,
    "h": 269
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#1A219D
secondary
#C4BE4E
accent
#E539EE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #1A219D

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

Preview Lab → · Contrast checker → · Palette generator →

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