#1A204A#1A204A

#1A204A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.078 H 273.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#1A204A
RGBrgb(26, 32, 74)
HSLhsl(233, 48%, 20%)
HSVhsv(233, 65%, 29%)
CMYKcmyk(64.9%, 56.8%, 0%, 71%)
CIE-LABlab(14.10, 12.28, -27.06)
CIE-LCHlch(14.10, 29.72, 294.41°)
OKLaboklab(26.42% 0.0051 -0.0774)
OKLCHoklch(26.42% 0.078 273.8)
XYZxyz(2.1781, 1.7469, 6.6996)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A204A #4A441A
analogous
#1A384A #1A204A #2C1A4A
triadic
#1A204A #4A1A20 #204A1A
tetradic
#1A204A #4A1A38 #4A441A #1A4A2C
square
#1A204A #4A1A38 #4A441A #1A4A2C
split-complementary
#1A204A #4A2C1A #384A1A
monochromatic
#080A17 #0A0C1D #1A204A #2A3477 #3A47A5

Accessibility & contrast

On white

15.56
#1A204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A204A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A204A#FFFFFF#000000##FFFFFF
##1A204A1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264B
Deuteranopia (green-blind)
#022249
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a204a;
/* rgb */ color: rgb(26, 32, 74);
/* oklch */ color: oklch(26.4% 0.078 273.8);
Tailwind
colors: {
  custom: {
    50: '#5c5b7d',
    500: '#1a204a',
    950: '#000000',
  },
}
SCSS
$custom: #1a204a;
$custom-light: #5c5b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a204a",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 232.5,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26418,
    "c": 0.07761,
    "h": 273.8
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#1A204A
secondary
#807840
accent
#C750D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #1A204A

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

Preview Lab → · Contrast checker → · Palette generator →

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