#1A205D#1A205D

#1A205D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.108 H 273.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#1A205D
RGBrgb(26, 32, 93)
HSLhsl(235, 56%, 23%)
HSVhsv(235, 72%, 36%)
CMYKcmyk(72%, 65.6%, 0%, 63.5%)
CIE-LABlab(15.71, 19.87, -37.32)
CIE-LCHlch(15.71, 42.28, 298.04°)
OKLaboklab(28.13% 0.0056 -0.1076)
OKLCHoklch(28.13% 0.108 273)
XYZxyz(2.9176, 2.0427, 10.5943)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A205D #5D571A
analogous
#1A415D #1A205D #351A5D
triadic
#1A205D #5D1A20 #205D1A
tetradic
#1A205D #5D1A41 #5D571A #1A5D35
square
#1A205D #5D1A41 #5D571A #1A5D35
split-complementary
#1A205D #5D351A #415D1A
monochromatic
#070818 #0D102D #1A205D #27308D #3541BD

Accessibility & contrast

On white

14.91
#1A205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A205D
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A205D#FFFFFF#000000##FFFFFF
##1A205D1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a205d;
/* rgb */ color: rgb(26, 32, 93);
/* oklch */ color: oklch(28.1% 0.108 273.0);
Tailwind
colors: {
  custom: {
    50: '#605b8b',
    500: '#1a205d',
    950: '#000000',
  },
}
SCSS
$custom: #1a205d;
$custom-light: #605b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a205d",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 234.627,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.10774,
    "h": 273
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#1A205D
secondary
#938B40
accent
#D248E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A205D

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

Preview Lab → · Contrast checker → · Palette generator →

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