#1A205B#1A205B

#1A205B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.105 H 273.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#1A205B
RGBrgb(26, 32, 91)
HSLhsl(234, 56%, 23%)
HSVhsv(234, 71%, 36%)
CMYKcmyk(71.4%, 64.8%, 0%, 64.3%)
CIE-LABlab(15.53, 19.08, -36.28)
CIE-LCHlch(15.53, 40.99, 297.74°)
OKLaboklab(27.94% 0.0057 -0.1045)
OKLCHoklch(27.94% 0.105 273.1)
XYZxyz(2.8302, 2.0077, 10.1339)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A205B #5B551A
analogous
#1A405B #1A205B #351A5B
triadic
#1A205B #5B1A20 #205B1A
tetradic
#1A205B #5B1A40 #5B551A #1A5B35
square
#1A205B #5B1A40 #5B551A #1A5B35
split-complementary
#1A205B #5B351A #405B1A
monochromatic
#070818 #0C0F2B #1A205B #28318B #3541BA

Accessibility & contrast

On white

14.98
#1A205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A205B
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A205B#FFFFFF#000000##FFFFFF
##1A205B1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a205b;
/* rgb */ color: rgb(26, 32, 91);
/* oklch */ color: oklch(27.9% 0.105 273.1);
Tailwind
colors: {
  custom: {
    50: '#605b8a',
    500: '#1a205b',
    950: '#000000',
  },
}
SCSS
$custom: #1a205b;
$custom-light: #605b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a205b",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 234.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27937,
    "c": 0.1047,
    "h": 273.1
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#1A205B
secondary
#918A40
accent
#D149DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1A205B

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

Preview Lab → · Contrast checker → · Palette generator →

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