#1A205E#1A205E

#1A205E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.109 H 272.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#1A205E
RGBrgb(26, 32, 94)
HSLhsl(235, 57%, 24%)
HSVhsv(235, 72%, 37%)
CMYKcmyk(72.3%, 66%, 0%, 63.1%)
CIE-LABlab(15.80, 20.27, -37.83)
CIE-LCHlch(15.80, 42.92, 298.18°)
OKLaboklab(28.22% 0.0056 -0.1091)
OKLCHoklch(28.22% 0.109 272.9)
XYZxyz(2.9622, 2.0605, 10.8291)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A205E #5E581A
analogous
#1A425E #1A205E #361A5E
triadic
#1A205E #5E1A20 #205E1A
tetradic
#1A205E #5E1A42 #5E581A #1A5E36
square
#1A205E #5E1A42 #5E581A #1A5E36
split-complementary
#1A205E #5E361A #425E1A
monochromatic
#070818 #0D102E #1A205E #27308E #3541BE

Accessibility & contrast

On white

14.87
#1A205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A205E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A205E#FFFFFF#000000##FFFFFF
##1A205E1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a205e;
/* rgb */ color: rgb(26, 32, 94);
/* oklch */ color: oklch(28.2% 0.109 272.9);
Tailwind
colors: {
  custom: {
    50: '#615b8c',
    500: '#1a205e',
    950: '#000000',
  },
}
SCSS
$custom: #1a205e;
$custom-light: #615b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a205e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 234.706,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28224,
    "c": 0.10924,
    "h": 272.9
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#1A205E
secondary
#948C40
accent
#D348E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A205E

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

Preview Lab → · Contrast checker → · Palette generator →

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