#1A4879#1A4879

#1A4879 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.097 H 252.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1A4879
RGBrgb(26, 72, 121)
HSLhsl(211, 65%, 29%)
HSVhsv(211, 79%, 47%)
CMYKcmyk(78.5%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.00, 2.94, -32.39)
CIE-LCHlch(30.00, 32.52, 275.20°)
OKLaboklab(39.69% -0.0287 -0.0924)
OKLCHoklch(39.69% 0.097 252.7)
XYZxyz(6.1933, 6.2341, 18.9623)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4879 #794B1A
analogous
#1A7879 #1A4879 #1B1A79
triadic
#1A4879 #791A48 #48791A
tetradic
#1A4879 #791A78 #794B1A #1A791B
square
#1A4879 #791A78 #794B1A #1A791B
split-complementary
#1A4879 #791B1A #78791A
monochromatic
#050F19 #0F2A47 #1A4879 #2566AB #3984D4

Accessibility & contrast

On white

9.35
#1A4879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1A4879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4879
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4879#FFFFFF#000000##FFFFFF
##1A48791.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4879;
/* rgb */ color: rgb(26, 72, 121);
/* oklch */ color: oklch(39.7% 0.097 252.7);
Tailwind
colors: {
  custom: {
    50: '#657aa0',
    500: '#1a4879',
    950: '#000000',
  },
}
SCSS
$custom: #1a4879;
$custom-light: #657aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4879",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 210.947,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.09676,
    "h": 252.7
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#1A4879
secondary
#AD7941
accent
#9740E8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1A4879

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

Preview Lab → · Contrast checker → · Palette generator →

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