#1D579E#1D579E

#1D579E is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.130 H 255.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1D579E
RGBrgb(29, 87, 158)
HSLhsl(213, 69%, 37%)
HSVhsv(213, 82%, 62%)
CMYKcmyk(81.6%, 44.9%, 0%, 38%)
CIE-LABlab(37.01, 8.20, -43.82)
CIE-LCHlch(37.01, 44.58, 280.60°)
OKLaboklab(45.92% -0.0319 -0.1257)
OKLCHoklch(45.92% 0.13 255.7)
XYZxyz(10.0841, 9.5450, 33.6520)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D579E #9E641D
analogous
#1D989E #1D579E #231D9E
triadic
#1D579E #9E1D57 #579E1D
tetradic
#1D579E #9E1D98 #9E641D #1D9E23
square
#1D579E #9E1D98 #9E641D #1D9E23
split-complementary
#1D579E #9E231D #989E1D
monochromatic
#0A1E37 #143B6A #1D579E #2673D2 #5694E0

Accessibility & contrast

On white

7.22
#1D579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1D579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D579E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D579E#FFFFFF#000000##FFFFFF
##1D579E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1d579e;
/* rgb */ color: rgb(29, 87, 158);
/* oklch */ color: oklch(45.9% 0.130 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f85bb',
    500: '#1d579e',
    950: '#000000',
  },
}
SCSS
$custom: #1d579e;
$custom-light: #6f85bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d579e",
  "rgb": {
    "r": 29,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 213.023,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.12964,
    "h": 255.7
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#1D579E
secondary
#C39154
accent
#9D3CEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1D579E

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

Preview Lab → · Contrast checker → · Palette generator →

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