#1A3774#1A3774

#1A3774 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.111 H 262.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1A3774
RGBrgb(26, 55, 116)
HSLhsl(221, 63%, 28%)
HSVhsv(221, 78%, 45%)
CMYKcmyk(77.6%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.36, 12.67, -38.26)
CIE-LCHlch(24.36, 40.30, 288.32°)
OKLaboklab(35.23% -0.0137 -0.11)
OKLCHoklch(35.23% 0.111 262.9)
XYZxyz(4.9435, 4.2124, 17.0722)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3774 #74571A
analogous
#1A6474 #1A3774 #2A1A74
triadic
#1A3774 #741A37 #37741A
tetradic
#1A3774 #741A64 #74571A #1A742A
square
#1A3774 #741A64 #74571A #1A742A
split-complementary
#1A3774 #742A1A #64741A
monochromatic
#060C19 #0F1F42 #1A3774 #254FA6 #3669D2

Accessibility & contrast

On white

11.40
#1A3774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A3774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3774
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3774#FFFFFF#000000##FFFFFF
##1A37741.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3774;
/* rgb */ color: rgb(26, 55, 116);
/* oklch */ color: oklch(35.2% 0.111 262.9);
Tailwind
colors: {
  custom: {
    50: '#656d9c',
    500: '#1a3774',
    950: '#000000',
  },
}
SCSS
$custom: #1a3774;
$custom-light: #656d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3774",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 220.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.11084,
    "h": 262.9
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#1A3774
secondary
#A98741
accent
#B141E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3774

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

Preview Lab → · Contrast checker → · Palette generator →

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