#1A209D#1A209D

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

Color values

HEX#1A209D
RGBrgb(26, 32, 157)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 83%, 62%)
CMYKcmyk(83.4%, 79.6%, 0%, 38.4%)
CIE-LABlab(22.61, 43.44, -66.73)
CIE-LCHlch(22.61, 79.63, 303.06°)
OKLaboklab(35.14% -0.0029 -0.1933)
OKLCHoklch(35.14% 0.193 269.1)
XYZxyz(7.0262, 3.6861, 32.2329)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A209D #9D971A
analogous
#1A619D #1A209D #551A9D
triadic
#1A209D #9D1A20 #209D1A
tetradic
#1A209D #9D1A61 #9D971A #1A9D55
square
#1A209D #9D1A61 #9D971A #1A9D55
split-complementary
#1A209D #9D551A #619D1A
monochromatic
#090B34 #111568 #1A209D #232BD2 #4F56E2

Accessibility & contrast

On white

12.09
#1A209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A209D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A209D#FFFFFF#000000##FFFFFF
##1A209D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a209d;
/* rgb */ color: rgb(26, 32, 157);
/* oklch */ color: oklch(35.1% 0.193 269.1);
Tailwind
colors: {
  custom: {
    50: '#725ebb',
    500: '#1a209d',
    950: '#000000',
  },
}
SCSS
$custom: #1a209d;
$custom-light: #725ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a209d",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 237.252,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.19334,
    "h": 269.1
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#1A209D
secondary
#C4BF4E
accent
#E639EE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A209D

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

Preview Lab → · Contrast checker → · Palette generator →

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