#1A204B#1A204B

#1A204B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.079 H 273.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1A204B
RGBrgb(26, 32, 75)
HSLhsl(233, 49%, 20%)
HSVhsv(233, 65%, 29%)
CMYKcmyk(65.3%, 57.3%, 0%, 70.6%)
CIE-LABlab(14.18, 12.68, -27.63)
CIE-LCHlch(14.18, 30.40, 294.66°)
OKLaboklab(26.5% 0.0052 -0.0791)
OKLCHoklch(26.5% 0.079 273.7)
XYZxyz(2.2121, 1.7605, 6.8785)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A204B #4B451A
analogous
#1A394B #1A204B #2D1A4B
triadic
#1A204B #4B1A20 #204B1A
tetradic
#1A204B #4B1A39 #4B451A #1A4B2D
square
#1A204B #4B1A39 #4B451A #1A4B2D
split-complementary
#1A204B #4B2D1A #394B1A
monochromatic
#080A17 #0A0D1E #1A204B #2A3378 #3A47A6

Accessibility & contrast

On white

15.53
#1A204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A204B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A204B#FFFFFF#000000##FFFFFF
##1A204B1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#01224A
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a204b;
/* rgb */ color: rgb(26, 32, 75);
/* oklch */ color: oklch(26.5% 0.079 273.7);
Tailwind
colors: {
  custom: {
    50: '#5c5b7e',
    500: '#1a204b',
    950: '#000000',
  },
}
SCSS
$custom: #1a204b;
$custom-light: #5c5b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a204b",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 232.653,
    "s": 48.515,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26501,
    "c": 0.07926,
    "h": 273.7
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#1A204B
secondary
#817940
accent
#C750D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A204B

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

Preview Lab → · Contrast checker → · Palette generator →

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