#1A579D#1A579D

#1A579D is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.129 H 254.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1A579D
RGBrgb(26, 87, 157)
HSLhsl(212, 72%, 36%)
HSVhsv(212, 83%, 62%)
CMYKcmyk(83.4%, 44.6%, 0%, 38.4%)
CIE-LABlab(36.87, 7.50, -43.45)
CIE-LCHlch(36.87, 44.09, 279.79°)
OKLaboklab(45.77% -0.0337 -0.1246)
OKLCHoklch(45.77% 0.129 254.9)
XYZxyz(9.9177, 9.4691, 33.1968)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A579D #9D601A
analogous
#1A989D #1A579D #1E1A9D
triadic
#1A579D #9D1A57 #579D1A
tetradic
#1A579D #9D1A98 #9D601A #1A9D1E
square
#1A579D #9D1A98 #9D601A #1A9D1E
split-complementary
#1A579D #9D1E1A #989D1A
monochromatic
#091D34 #113A68 #1A579D #2374D2 #4F94E2

Accessibility & contrast

On white

7.26
#1A579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1A579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A579D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A579D#FFFFFF#000000##FFFFFF
##1A579D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#18519C
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1a579d;
/* rgb */ color: rgb(26, 87, 157);
/* oklch */ color: oklch(45.8% 0.129 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e85ba',
    500: '#1a579d',
    950: '#000000',
  },
}
SCSS
$custom: #1a579d;
$custom-light: #6e85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a579d",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 212.061,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.12908,
    "h": 254.9
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#1A579D
secondary
#C48D4E
accent
#9A39EE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1A579D

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

Preview Lab → · Contrast checker → · Palette generator →

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