#1D538D#1D538D

#1D538D is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.111 H 253.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1D538D
RGBrgb(29, 83, 141)
HSLhsl(211, 66%, 33%)
HSVhsv(211, 79%, 55%)
CMYKcmyk(79.4%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.74, 4.05, -37.18)
CIE-LCHlch(34.74, 37.40, 276.22°)
OKLaboklab(43.81% -0.0322 -0.1062)
OKLCHoklch(43.81% 0.111 253.1)
XYZxyz(8.4059, 8.3698, 26.3667)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D538D #8D571D
analogous
#1D8B8D #1D538D #1F1D8D
triadic
#1D538D #8D1D53 #538D1D
tetradic
#1D538D #8D1D8B #8D571D #1D8D1F
square
#1D538D #8D1D8B #8D571D #1D8D1F
split-complementary
#1D538D #8D1F1D #8B8D1D
monochromatic
#081727 #13355A #1D538D #2771C0 #4B90DA

Accessibility & contrast

On white

7.85
#1D538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D538D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D538D#FFFFFF#000000##FFFFFF
##1D538D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d538d;
/* rgb */ color: rgb(29, 83, 141);
/* oklch */ color: oklch(43.8% 0.111 253.1);
Tailwind
colors: {
  custom: {
    50: '#6b82af',
    500: '#1d538d',
    950: '#000000',
  },
}
SCSS
$custom: #1d538d;
$custom-light: #6b82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d538d",
  "rgb": {
    "r": 29,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 211.071,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4381,
    "c": 0.11099,
    "h": 253.1
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#1D538D
secondary
#BC854A
accent
#973FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D538D

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

Preview Lab → · Contrast checker → · Palette generator →

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