#1A4178#1A4178

#1A4178 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.104 H 257.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#1A4178
RGBrgb(26, 65, 120)
HSLhsl(215, 64%, 29%)
HSVhsv(215, 78%, 47%)
CMYKcmyk(78.3%, 45.8%, 0%, 52.9%)
CIE-LABlab(27.72, 7.30, -35.38)
CIE-LCHlch(27.72, 36.13, 281.66°)
OKLaboklab(37.9% -0.0222 -0.1013)
OKLCHoklch(37.9% 0.104 257.6)
XYZxyz(5.7052, 5.3556, 18.4987)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4178 #78511A
analogous
#1A7078 #1A4178 #221A78
triadic
#1A4178 #781A41 #41781A
tetradic
#1A4178 #781A70 #78511A #1A7822
square
#1A4178 #781A70 #78511A #1A7822
split-complementary
#1A4178 #78221A #70781A
monochromatic
#050E19 #0F2646 #1A4178 #255CAA #3879D4

Accessibility & contrast

On white

10.14
#1A4178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1A4178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4178
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4178#FFFFFF#000000##FFFFFF
##1A41781.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#133D77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a4178;
/* rgb */ color: rgb(26, 65, 120);
/* oklch */ color: oklch(37.9% 0.104 257.6);
Tailwind
colors: {
  custom: {
    50: '#65759f',
    500: '#1a4178',
    950: '#000000',
  },
}
SCSS
$custom: #1a4178;
$custom-light: #65759f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4178",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 215.106,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37903,
    "c": 0.10374,
    "h": 257.6
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#1A4178
secondary
#AC8041
accent
#A240E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1A4178

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

Preview Lab → · Contrast checker → · Palette generator →

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