#1A3477#1A3477

#1A3477 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.119 H 264.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#1A3477
RGBrgb(26, 52, 119)
HSLhsl(223, 64%, 28%)
HSVhsv(223, 78%, 47%)
CMYKcmyk(78.2%, 56.3%, 0%, 53.3%)
CIE-LABlab(23.69, 16.03, -41.25)
CIE-LCHlch(23.69, 44.25, 291.24°)
OKLaboklab(34.8% -0.0108 -0.1188)
OKLCHoklch(34.8% 0.119 264.8)
XYZxyz(4.9826, 4.0070, 17.9600)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3477 #775D1A
analogous
#1A6277 #1A3477 #2E1A77
triadic
#1A3477 #771A34 #34771A
tetradic
#1A3477 #771A62 #775D1A #1A772E
square
#1A3477 #771A62 #775D1A #1A772E
split-complementary
#1A3477 #772E1A #62771A
monochromatic
#050B19 #0F1E45 #1A3477 #254AA9 #3863D3

Accessibility & contrast

On white

11.66
#1A3477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A3477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3477
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3477#FFFFFF#000000##FFFFFF
##1A34771.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a3477;
/* rgb */ color: rgb(26, 52, 119);
/* oklch */ color: oklch(34.8% 0.119 264.8);
Tailwind
colors: {
  custom: {
    50: '#666b9f',
    500: '#1a3477',
    950: '#000000',
  },
}
SCSS
$custom: #1a3477;
$custom-light: #666b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3477",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 223.226,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.11933,
    "h": 264.8
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#1A3477
secondary
#AC8E41
accent
#B941E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3477

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

Preview Lab → · Contrast checker → · Palette generator →

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