#1A209E#1A209E

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

Color values

HEX#1A209E
RGBrgb(26, 32, 158)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 84%, 62%)
CMYKcmyk(83.5%, 79.7%, 0%, 38%)
CIE-LABlab(22.72, 43.78, -67.15)
CIE-LCHlch(22.72, 80.16, 303.10°)
OKLaboklab(35.25% -0.0031 -0.1945)
OKLCHoklch(35.25% 0.195 269.1)
XYZxyz(7.1120, 3.7204, 32.6844)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A209E #9E981A
analogous
#1A629E #1A209E #561A9E
triadic
#1A209E #9E1A20 #209E1A
tetradic
#1A209E #9E1A62 #9E981A #1A9E56
square
#1A209E #9E1A62 #9E981A #1A9E56
split-complementary
#1A209E #9E561A #629E1A
monochromatic
#090B35 #111569 #1A209E #232BD3 #5057E2

Accessibility & contrast

On white

12.04
#1A209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A209E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A209E#FFFFFF#000000##FFFFFF
##1A209E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a209e;
/* rgb */ color: rgb(26, 32, 158);
/* oklch */ color: oklch(35.3% 0.195 269.1);
Tailwind
colors: {
  custom: {
    50: '#725ebc',
    500: '#1a209e',
    950: '#000000',
  },
}
SCSS
$custom: #1a209e;
$custom-light: #725ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a209e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 237.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.19455,
    "h": 269.1
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#1A209E
secondary
#C5BF4F
accent
#E639EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A209E

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

Preview Lab → · Contrast checker → · Palette generator →

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