#1A3771#1A3771

#1A3771 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.106 H 262.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1A3771
RGBrgb(26, 55, 113)
HSLhsl(220, 63%, 27%)
HSVhsv(220, 77%, 44%)
CMYKcmyk(77%, 51.3%, 0%, 55.7%)
CIE-LABlab(24.14, 11.43, -36.70)
CIE-LCHlch(24.14, 38.44, 287.30°)
OKLaboklab(34.99% -0.0141 -0.1054)
OKLCHoklch(34.99% 0.106 262.4)
XYZxyz(4.7718, 4.1437, 16.1679)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3771 #71541A
analogous
#1A6371 #1A3771 #291A71
triadic
#1A3771 #711A37 #37711A
tetradic
#1A3771 #711A63 #71541A #1A7129
square
#1A3771 #711A63 #71541A #1A7129
split-complementary
#1A3771 #71291A #63711A
monochromatic
#060C19 #0F1F3F #1A3771 #254FA3 #3569D0

Accessibility & contrast

On white

11.48
#1A3771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3771
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3771#FFFFFF#000000##FFFFFF
##1A37711.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3771;
/* rgb */ color: rgb(26, 55, 113);
/* oklch */ color: oklch(35.0% 0.106 262.4);
Tailwind
colors: {
  custom: {
    50: '#646d9a',
    500: '#1a3771',
    950: '#000000',
  },
}
SCSS
$custom: #1a3771;
$custom-light: #646d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3771",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 220,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.10635,
    "h": 262.4
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3771

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

Preview Lab → · Contrast checker → · Palette generator →

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