#1A3872#1A3872

#1A3872 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.107 H 261.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1A3872
RGBrgb(26, 56, 114)
HSLhsl(220, 63%, 27%)
HSVhsv(220, 77%, 45%)
CMYKcmyk(77.2%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.52, 11.13, -36.73)
CIE-LCHlch(24.52, 38.38, 286.87°)
OKLaboklab(35.3% -0.0149 -0.1055)
OKLCHoklch(35.3% 0.107 261.9)
XYZxyz(4.8764, 4.2623, 16.4820)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3872 #72541A
analogous
#1A6472 #1A3872 #281A72
triadic
#1A3872 #721A38 #38721A
tetradic
#1A3872 #721A64 #72541A #1A7228
square
#1A3872 #721A64 #72541A #1A7228
split-complementary
#1A3872 #72281A #64721A
monochromatic
#060C19 #0F2040 #1A3872 #2550A4 #356AD1

Accessibility & contrast

On white

11.34
#1A3872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A3872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3872
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3872#FFFFFF#000000##FFFFFF
##1A38721.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3872;
/* rgb */ color: rgb(26, 56, 114);
/* oklch */ color: oklch(35.3% 0.107 261.9);
Tailwind
colors: {
  custom: {
    50: '#646e9b',
    500: '#1a3872',
    950: '#000000',
  },
}
SCSS
$custom: #1a3872;
$custom-light: #646e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3872",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 219.545,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35303,
    "c": 0.10651,
    "h": 261.9
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#1A3872
secondary
#A78441
accent
#AE42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3872

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

Preview Lab → · Contrast checker → · Palette generator →

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