#1D528E#1D528E

#1D528E is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.114 H 254.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1D528E
RGBrgb(29, 82, 142)
HSLhsl(212, 66%, 34%)
HSVhsv(212, 80%, 56%)
CMYKcmyk(79.6%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.49, 5.11, -38.18)
CIE-LCHlch(34.49, 38.52, 277.63°)
OKLaboklab(43.64% -0.0311 -0.1092)
OKLCHoklch(43.64% 0.114 254.1)
XYZxyz(8.4047, 8.2478, 26.7350)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D528E #8E591D
analogous
#1D8A8E #1D528E #201D8E
triadic
#1D528E #8E1D52 #528E1D
tetradic
#1D528E #8E1D8A #8E591D #1D8E20
square
#1D528E #8E1D8A #8E591D #1D8E20
split-complementary
#1D528E #8E201D #8A8E1D
monochromatic
#081728 #13355B #1D528E #276FC1 #4B8EDA

Accessibility & contrast

On white

7.93
#1D528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1D528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D528E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D528E#FFFFFF#000000##FFFFFF
##1D528E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d528e;
/* rgb */ color: rgb(29, 82, 142);
/* oklch */ color: oklch(43.6% 0.114 254.1);
Tailwind
colors: {
  custom: {
    50: '#6b82af',
    500: '#1d528e',
    950: '#000000',
  },
}
SCSS
$custom: #1d528e;
$custom-light: #6b82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d528e",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 211.858,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.11351,
    "h": 254.1
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#1D528E
secondary
#BD874A
accent
#993FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D528E

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

Preview Lab → · Contrast checker → · Palette generator →

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