#1A4878#1A4878

#1A4878 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.095 H 252.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1A4878
RGBrgb(26, 72, 120)
HSLhsl(211, 64%, 29%)
HSVhsv(211, 78%, 47%)
CMYKcmyk(78.3%, 40%, 0%, 52.9%)
CIE-LABlab(29.94, 2.54, -31.85)
CIE-LCHlch(29.94, 31.96, 274.56°)
OKLaboklab(39.62% -0.029 -0.0908)
OKLCHoklch(39.62% 0.095 252.3)
XYZxyz(6.1323, 6.2097, 18.6411)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4878 #784A1A
analogous
#1A7778 #1A4878 #1B1A78
triadic
#1A4878 #781A48 #48781A
tetradic
#1A4878 #781A77 #784A1A #1A781B
square
#1A4878 #781A77 #784A1A #1A781B
split-complementary
#1A4878 #781B1A #77781A
monochromatic
#050F19 #0F2A46 #1A4878 #2566AA #3885D4

Accessibility & contrast

On white

9.37
#1A4878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1A4878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4878
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4878#FFFFFF#000000##FFFFFF
##1A48781.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#234377
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4878;
/* rgb */ color: rgb(26, 72, 120);
/* oklch */ color: oklch(39.6% 0.095 252.3);
Tailwind
colors: {
  custom: {
    50: '#657a9f',
    500: '#1a4878',
    950: '#000000',
  },
}
SCSS
$custom: #1a4878;
$custom-light: #657a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4878",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 210.638,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.09535,
    "h": 252.3
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#1A4878
secondary
#AC7841
accent
#9640E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4878

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

Preview Lab → · Contrast checker → · Palette generator →

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