#1A208F#1A208F

#1A208F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 269.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1A208F
RGBrgb(26, 32, 143)
HSLhsl(237, 69%, 33%)
HSVhsv(237, 82%, 56%)
CMYKcmyk(81.8%, 77.6%, 0%, 43.9%)
CIE-LABlab(20.96, 38.64, -60.82)
CIE-LCHlch(20.96, 72.06, 302.43°)
OKLaboklab(33.5% -0.0005 -0.1762)
OKLCHoklch(33.5% 0.176 269.8)
XYZxyz(5.8987, 3.2351, 26.2948)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A208F #8F891A
analogous
#1A5A8F #1A208F #4E1A8F
triadic
#1A208F #8F1A20 #208F1A
tetradic
#1A208F #8F1A5A #8F891A #1A8F4E
square
#1A208F #8F1A5A #8F891A #1A8F4E
split-complementary
#1A208F #8F4E1A #5A8F1A
monochromatic
#070927 #11145B #1A208F #232CC3 #464EDD

Accessibility & contrast

On white

12.75
#1A208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A208F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A208F#FFFFFF#000000##FFFFFF
##1A208F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a208f;
/* rgb */ color: rgb(26, 32, 143);
/* oklch */ color: oklch(33.5% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e5db1',
    500: '#1a208f',
    950: '#000000',
  },
}
SCSS
$custom: #1a208f;
$custom-light: #6e5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a208f",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 236.923,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33497,
    "c": 0.17618,
    "h": 269.8
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A208F

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

Preview Lab → · Contrast checker → · Palette generator →

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