#1A20A0#1A20A0

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

Color values

HEX#1A20A0
RGBrgb(26, 32, 160)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 84%, 63%)
CMYKcmyk(83.8%, 80%, 0%, 37.3%)
CIE-LABlab(22.96, 44.45, -67.97)
CIE-LCHlch(22.96, 81.21, 303.18°)
OKLaboklab(35.49% -0.0035 -0.1969)
OKLCHoklch(35.49% 0.197 269)
XYZxyz(7.2855, 3.7898, 33.5984)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A20A0 #A09A1A
analogous
#1A63A0 #1A20A0 #571AA0
triadic
#1A20A0 #A01A20 #20A01A
tetradic
#1A20A0 #A01A63 #A09A1A #1AA057
square
#1A20A0 #A01A63 #A09A1A #1AA057
split-complementary
#1A20A0 #A0571A #63A01A
monochromatic
#090B37 #11156B #1A20A0 #232BD5 #5258E3

Accessibility & contrast

On white

11.94
#1A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A20A0
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A20A0#FFFFFF#000000##FFFFFF
##1A20A01.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a20a0;
/* rgb */ color: rgb(26, 32, 160);
/* oklch */ color: oklch(35.5% 0.197 269.0);
Tailwind
colors: {
  custom: {
    50: '#735ebd',
    500: '#1a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #1a20a0;
$custom-light: #735ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a20a0",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 237.313,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35491,
    "c": 0.19693,
    "h": 269
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#1A20A0
secondary
#C5C050
accent
#E739EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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