#1D579C#1D579C

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

Color values

HEX#1D579C
RGBrgb(29, 87, 156)
HSLhsl(213, 69%, 36%)
HSVhsv(213, 81%, 61%)
CMYKcmyk(81.4%, 44.2%, 0%, 38.8%)
CIE-LABlab(36.89, 7.40, -42.82)
CIE-LCHlch(36.89, 43.46, 279.81°)
OKLaboklab(45.78% -0.0323 -0.1227)
OKLCHoklch(45.78% 0.127 255.2)
XYZxyz(9.9134, 9.4767, 32.7527)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D579C #9C621D
analogous
#1D979C #1D579C #221D9C
triadic
#1D579C #9C1D57 #579C1D
tetradic
#1D579C #9C1D97 #9C621D #1D9C22
square
#1D579C #9C1D97 #9C621D #1D9C22
split-complementary
#1D579C #9C221D #979C1D
monochromatic
#0A1D35 #133A68 #1D579C #2774D0 #5494DF

Accessibility & contrast

On white

7.25
#1D579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D579C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D579C#FFFFFF#000000##FFFFFF
##1D579C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#1B519B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1d579c;
/* rgb */ color: rgb(29, 87, 156);
/* oklch */ color: oklch(45.8% 0.127 255.2);
Tailwind
colors: {
  custom: {
    50: '#6e85ba',
    500: '#1d579c',
    950: '#000000',
  },
}
SCSS
$custom: #1d579c;
$custom-light: #6e85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d579c",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 212.598,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.12691,
    "h": 255.2
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#1D579C
secondary
#C28F52
accent
#9B3CEB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1D579C

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

Preview Lab → · Contrast checker → · Palette generator →

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