#1D538C#1D538C

#1D538C is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.110 H 252.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1D538C
RGBrgb(29, 83, 140)
HSLhsl(211, 66%, 33%)
HSVhsv(211, 79%, 55%)
CMYKcmyk(79.3%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.68, 3.66, -36.66)
CIE-LCHlch(34.68, 36.84, 275.69°)
OKLaboklab(43.74% -0.0325 -0.1047)
OKLCHoklch(43.74% 0.11 252.8)
XYZxyz(8.3318, 8.3402, 25.9766)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D538C #8C561D
analogous
#1D8A8C #1D538C #1F1D8C
triadic
#1D538C #8C1D53 #538C1D
tetradic
#1D538C #8C1D8A #8C561D #1D8C1F
square
#1D538C #8C1D8A #8C561D #1D8C1F
split-complementary
#1D538C #8C1F1D #8A8C1D
monochromatic
#081727 #123559 #1D538C #2871BF #4A90D9

Accessibility & contrast

On white

7.87
#1D538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1D538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D538C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D538C#FFFFFF#000000##FFFFFF
##1D538C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d538c;
/* rgb */ color: rgb(29, 83, 140);
/* oklch */ color: oklch(43.7% 0.110 252.8);
Tailwind
colors: {
  custom: {
    50: '#6b82ae',
    500: '#1d538c',
    950: '#000000',
  },
}
SCSS
$custom: #1d538c;
$custom-light: #6b82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d538c",
  "rgb": {
    "r": 29,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 210.811,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.10962,
    "h": 252.8
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#1D538C
secondary
#BC8449
accent
#963FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D538C

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

Preview Lab → · Contrast checker → · Palette generator →

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