#1A209F#1A209F

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

Color values

HEX#1A209F
RGBrgb(26, 32, 159)
HSLhsl(237, 72%, 36%)
HSVhsv(237, 84%, 62%)
CMYKcmyk(83.6%, 79.9%, 0%, 37.6%)
CIE-LABlab(22.84, 44.11, -67.56)
CIE-LCHlch(22.84, 80.69, 303.14°)
OKLaboklab(35.37% -0.0033 -0.1957)
OKLCHoklch(35.37% 0.196 269)
XYZxyz(7.1984, 3.7550, 33.1396)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A209F #9F991A
analogous
#1A639F #1A209F #571A9F
triadic
#1A209F #9F1A20 #209F1A
tetradic
#1A209F #9F1A63 #9F991A #1A9F57
square
#1A209F #9F1A63 #9F991A #1A9F57
split-complementary
#1A209F #9F571A #639F1A
monochromatic
#090B36 #11156A #1A209F #232BD4 #5157E3

Accessibility & contrast

On white

11.99
#1A209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A209F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A209F#FFFFFF#000000##FFFFFF
##1A209F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a209f;
/* rgb */ color: rgb(26, 32, 159);
/* oklch */ color: oklch(35.4% 0.196 269.0);
Tailwind
colors: {
  custom: {
    50: '#725ebd',
    500: '#1a209f',
    950: '#000000',
  },
}
SCSS
$custom: #1a209f;
$custom-light: #725ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a209f",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 237.293,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35372,
    "c": 0.19574,
    "h": 269
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A209F

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

Preview Lab → · Contrast checker → · Palette generator →

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