#1D579D#1D579D

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

Color values

HEX#1D579D
RGBrgb(29, 87, 157)
HSLhsl(213, 69%, 36%)
HSVhsv(213, 82%, 62%)
CMYKcmyk(81.5%, 44.6%, 0%, 38.4%)
CIE-LABlab(36.95, 7.80, -43.32)
CIE-LCHlch(36.95, 44.02, 280.21°)
OKLaboklab(45.85% -0.0321 -0.1242)
OKLCHoklch(45.85% 0.128 255.5)
XYZxyz(9.9984, 9.5107, 33.2005)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D579D #9D631D
analogous
#1D979D #1D579D #231D9D
triadic
#1D579D #9D1D57 #579D1D
tetradic
#1D579D #9D1D97 #9D631D #1D9D23
square
#1D579D #9D1D97 #9D631D #1D9D23
split-complementary
#1D579D #9D231D #979D1D
monochromatic
#0A1E36 #133A69 #1D579D #2774D1 #5594E0

Accessibility & contrast

On white

7.24
#1D579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1D579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D579D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D579D#FFFFFF#000000##FFFFFF
##1D579D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d579d;
/* rgb */ color: rgb(29, 87, 157);
/* oklch */ color: oklch(45.8% 0.128 255.5);
Tailwind
colors: {
  custom: {
    50: '#6e85ba',
    500: '#1d579d',
    950: '#000000',
  },
}
SCSS
$custom: #1d579d;
$custom-light: #6e85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d579d",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 212.813,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.12828,
    "h": 255.5
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#1D579D
secondary
#C39053
accent
#9C3CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1D579D

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

Preview Lab → · Contrast checker → · Palette generator →

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