#1A3873#1A3873

#1A3873 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.108 H 262.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3873
RGBrgb(26, 56, 115)
HSLhsl(220, 63%, 28%)
HSVhsv(220, 77%, 45%)
CMYKcmyk(77.4%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.59, 11.55, -37.25)
CIE-LCHlch(24.59, 39.00, 287.22°)
OKLaboklab(35.38% -0.0148 -0.107)
OKLCHoklch(35.38% 0.108 262.1)
XYZxyz(4.9336, 4.2852, 16.7834)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3873 #73551A
analogous
#1A6573 #1A3873 #281A73
triadic
#1A3873 #731A38 #38731A
tetradic
#1A3873 #731A65 #73551A #1A7328
square
#1A3873 #731A65 #73551A #1A7328
split-complementary
#1A3873 #73281A #65731A
monochromatic
#060C19 #0F2041 #1A3873 #2550A5 #366AD2

Accessibility & contrast

On white

11.31
#1A3873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A3873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3873
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3873#FFFFFF#000000##FFFFFF
##1A38731.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3873;
/* rgb */ color: rgb(26, 56, 115);
/* oklch */ color: oklch(35.4% 0.108 262.1);
Tailwind
colors: {
  custom: {
    50: '#646e9c',
    500: '#1a3873',
    950: '#000000',
  },
}
SCSS
$custom: #1a3873;
$custom-light: #646e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3873",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 219.775,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.108,
    "h": 262.1
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#1A3873
secondary
#A88541
accent
#AF42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3873

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

Preview Lab → · Contrast checker → · Palette generator →

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