#1A208E#1A208E

#1A208E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.175 H 269.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1A208E
RGBrgb(26, 32, 142)
HSLhsl(237, 69%, 33%)
HSVhsv(237, 82%, 56%)
CMYKcmyk(81.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(20.85, 38.29, -60.39)
CIE-LCHlch(20.85, 71.50, 302.38°)
OKLaboklab(33.38% -0.0003 -0.1749)
OKLCHoklch(33.38% 0.175 269.9)
XYZxyz(5.8233, 3.2050, 25.8976)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A208E #8E881A
analogous
#1A5A8E #1A208E #4E1A8E
triadic
#1A208E #8E1A20 #208E1A
tetradic
#1A208E #8E1A5A #8E881A #1A8E4E
square
#1A208E #8E1A5A #8E881A #1A8E4E
split-complementary
#1A208E #8E4E1A #5A8E1A
monochromatic
#070927 #11145A #1A208E #232CC2 #454DDD

Accessibility & contrast

On white

12.80
#1A208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A208E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A208E#FFFFFF#000000##FFFFFF
##1A208E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a208e;
/* rgb */ color: rgb(26, 32, 142);
/* oklch */ color: oklch(33.4% 0.175 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e5db0',
    500: '#1a208e',
    950: '#000000',
  },
}
SCSS
$custom: #1a208e;
$custom-light: #6e5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a208e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 236.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.17492,
    "h": 269.9
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#1A208E
secondary
#BEB845
accent
#E33CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A208E

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

Preview Lab → · Contrast checker → · Palette generator →

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