#1A4579#1A4579

#1A4579 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.100 H 255.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1A4579
RGBrgb(26, 69, 121)
HSLhsl(213, 65%, 29%)
HSVhsv(213, 79%, 47%)
CMYKcmyk(78.5%, 43%, 0%, 52.5%)
CIE-LABlab(29.05, 4.97, -33.90)
CIE-LCHlch(29.05, 34.26, 278.34°)
OKLaboklab(38.95% -0.0258 -0.0969)
OKLCHoklch(38.95% 0.1 255.1)
XYZxyz(6.0040, 5.8556, 18.8993)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4579 #794E1A
analogous
#1A7579 #1A4579 #1F1A79
triadic
#1A4579 #791A45 #45791A
tetradic
#1A4579 #791A75 #794E1A #1A791F
square
#1A4579 #791A75 #794E1A #1A791F
split-complementary
#1A4579 #791F1A #75791A
monochromatic
#050E19 #0F2847 #1A4579 #2562AB #397FD4

Accessibility & contrast

On white

9.67
#1A4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A4579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4579
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4579#FFFFFF#000000##FFFFFF
##1A45791.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#1C4078
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4579;
/* rgb */ color: rgb(26, 69, 121);
/* oklch */ color: oklch(38.9% 0.100 255.1);
Tailwind
colors: {
  custom: {
    50: '#6578a0',
    500: '#1a4579',
    950: '#000000',
  },
}
SCSS
$custom: #1a4579;
$custom-light: #6578a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4579",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 212.842,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.10027,
    "h": 255.1
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#1A4579
secondary
#AD7D41
accent
#9C40E8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1A4579

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

Preview Lab → · Contrast checker → · Palette generator →

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