#1A3772#1A3772

#1A3772 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.108 H 262.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1A3772
RGBrgb(26, 55, 114)
HSLhsl(220, 63%, 27%)
HSVhsv(220, 77%, 45%)
CMYKcmyk(77.2%, 51.8%, 0%, 55.3%)
CIE-LABlab(24.21, 11.84, -37.22)
CIE-LCHlch(24.21, 39.06, 287.65°)
OKLaboklab(35.07% -0.014 -0.1069)
OKLCHoklch(35.07% 0.108 262.5)
XYZxyz(4.8284, 4.1664, 16.4660)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3772 #72551A
analogous
#1A6372 #1A3772 #291A72
triadic
#1A3772 #721A37 #37721A
tetradic
#1A3772 #721A63 #72551A #1A7229
square
#1A3772 #721A63 #72551A #1A7229
split-complementary
#1A3772 #72291A #63721A
monochromatic
#060C19 #0F1F40 #1A3772 #254FA4 #3569D1

Accessibility & contrast

On white

11.45
#1A3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3772
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3772#FFFFFF#000000##FFFFFF
##1A37721.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3772;
/* rgb */ color: rgb(26, 55, 114);
/* oklch */ color: oklch(35.1% 0.108 262.5);
Tailwind
colors: {
  custom: {
    50: '#646d9b',
    500: '#1a3772',
    950: '#000000',
  },
}
SCSS
$custom: #1a3772;
$custom-light: #646d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3772",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 220.227,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.10784,
    "h": 262.5
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#1A3772
secondary
#A78541
accent
#B042E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3772

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

Preview Lab → · Contrast checker → · Palette generator →

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