#1A219F#1A219F

#1A219F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.195 H 269.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1A219F
RGBrgb(26, 33, 159)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 84%, 62%)
CMYKcmyk(83.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.03, 43.57, -67.25)
CIE-LCHlch(23.03, 80.13, 302.94°)
OKLaboklab(35.5% -0.0035 -0.1948)
OKLCHoklch(35.5% 0.195 269)
XYZxyz(7.2257, 3.8097, 33.1487)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A219F #9F981A
analogous
#1A649F #1A219F #561A9F
triadic
#1A219F #9F1A21 #219F1A
tetradic
#1A219F #9F1A64 #9F981A #1A9F56
square
#1A219F #9F1A64 #9F981A #1A9F56
split-complementary
#1A219F #9F561A #649F1A
monochromatic
#090B36 #11166A #1A219F #232CD4 #5159E3

Accessibility & contrast

On white

11.92
#1A219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A219F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A219F#FFFFFF#000000##FFFFFF
##1A219F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a219f;
/* rgb */ color: rgb(26, 33, 159);
/* oklch */ color: oklch(35.5% 0.195 269.0);
Tailwind
colors: {
  custom: {
    50: '#725fbd',
    500: '#1a219f',
    950: '#000000',
  },
}
SCSS
$custom: #1a219f;
$custom-light: #725fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a219f",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 236.842,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.19485,
    "h": 269
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#1A219F
secondary
#C5BF50
accent
#E539EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1A219F

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

Preview Lab → · Contrast checker → · Palette generator →

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