#1A208B#1A208B

#1A208B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.171 H 270.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A208B
RGBrgb(26, 32, 139)
HSLhsl(237, 68%, 32%)
HSVhsv(237, 81%, 55%)
CMYKcmyk(81.3%, 77%, 0%, 45.5%)
CIE-LABlab(20.50, 37.23, -59.09)
CIE-LCHlch(20.50, 69.84, 302.22°)
OKLaboklab(33.04% 0.0002 -0.1711)
OKLCHoklch(33.04% 0.171 270.1)
XYZxyz(5.6011, 3.1161, 24.7274)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A208B #8B851A
analogous
#1A598B #1A208B #4C1A8B
triadic
#1A208B #8B1A20 #208B1A
tetradic
#1A208B #8B1A59 #8B851A #1A8B4C
square
#1A208B #8B1A59 #8B851A #1A8B4C
split-complementary
#1A208B #8B4C1A #598B1A
monochromatic
#070824 #101457 #1A208B #242CBF #434CDC

Accessibility & contrast

On white

12.94
#1A208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A208B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A208B#FFFFFF#000000##FFFFFF
##1A208B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a208b;
/* rgb */ color: rgb(26, 32, 139);
/* oklch */ color: oklch(33.0% 0.171 270.1);
Tailwind
colors: {
  custom: {
    50: '#6d5dae',
    500: '#1a208b',
    950: '#000000',
  },
}
SCSS
$custom: #1a208b;
$custom-light: #6d5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a208b",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 236.814,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33037,
    "c": 0.17114,
    "h": 270.1
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1A208B
secondary
#BDB744
accent
#E23CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A208B

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

Preview Lab → · Contrast checker → · Palette generator →

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