#1A3972#1A3972

#1A3972 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.105 H 261.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#1A3972
RGBrgb(26, 57, 114)
HSLhsl(219, 63%, 27%)
HSVhsv(219, 77%, 45%)
CMYKcmyk(77.2%, 50%, 0%, 55.3%)
CIE-LABlab(24.83, 10.43, -36.23)
CIE-LCHlch(24.83, 37.70, 286.05°)
OKLaboklab(35.54% -0.0159 -0.104)
OKLCHoklch(35.54% 0.105 261.3)
XYZxyz(4.9253, 4.3602, 16.4984)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3972 #72531A
analogous
#1A6572 #1A3972 #271A72
triadic
#1A3972 #721A39 #39721A
tetradic
#1A3972 #721A65 #72531A #1A7227
square
#1A3972 #721A65 #72531A #1A7227
split-complementary
#1A3972 #72271A #65721A
monochromatic
#060C19 #0F2040 #1A3972 #2552A4 #356CD1

Accessibility & contrast

On white

11.22
#1A3972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1A3972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3972
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3972#FFFFFF#000000##FFFFFF
##1A39721.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#023771
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a3972;
/* rgb */ color: rgb(26, 57, 114);
/* oklch */ color: oklch(35.5% 0.105 261.3);
Tailwind
colors: {
  custom: {
    50: '#646e9b',
    500: '#1a3972',
    950: '#000000',
  },
}
SCSS
$custom: #1a3972;
$custom-light: #646e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3972",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 218.864,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.10518,
    "h": 261.3
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#1A3972
secondary
#A78341
accent
#AC42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3972

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

Preview Lab → · Contrast checker → · Palette generator →

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