#1A5879#1A5879

#1A5879 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.082 H 236.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1A5879
RGBrgb(26, 88, 121)
HSLhsl(201, 65%, 29%)
HSVhsv(201, 79%, 47%)
CMYKcmyk(78.5%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.16, -7.35, -24.24)
CIE-LCHlch(35.16, 25.33, 253.14°)
OKLaboklab(43.76% -0.045 -0.0684)
OKLCHoklch(43.76% 0.082 236.7)
XYZxyz(7.3655, 8.5787, 19.3531)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5879 #793B1A
analogous
#1A796B #1A5879 #1A2979
triadic
#1A5879 #791A58 #58791A
tetradic
#1A5879 #6B1A79 #793B1A #29791A
square
#1A5879 #6B1A79 #793B1A #29791A
split-complementary
#1A5879 #791A29 #796B1A
monochromatic
#051219 #0F3347 #1A5879 #257DAB #399ED4

Accessibility & contrast

On white

7.73
#1A5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1A5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5879
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5879#FFFFFF#000000##FFFFFF
##1A58791.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#3B4F78
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1a5879;
/* rgb */ color: rgb(26, 88, 121);
/* oklch */ color: oklch(43.8% 0.082 236.7);
Tailwind
colors: {
  custom: {
    50: '#6687a0',
    500: '#1a5879',
    950: '#000000',
  },
}
SCSS
$custom: #1a5879;
$custom-light: #6687a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5879",
  "rgb": {
    "r": 26,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 200.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.08188,
    "h": 236.7
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#1A5879
secondary
#AD6741
accent
#7A40E8
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1A5879

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

Preview Lab → · Contrast checker → · Palette generator →

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