#1D538F#1D538F

#1D538F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.114 H 253.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#1D538F
RGBrgb(29, 83, 143)
HSLhsl(212, 66%, 34%)
HSVhsv(212, 80%, 56%)
CMYKcmyk(79.7%, 42%, 0%, 43.9%)
CIE-LABlab(34.86, 4.85, -38.20)
CIE-LCHlch(34.86, 38.51, 277.24°)
OKLaboklab(43.94% -0.0318 -0.1092)
OKLCHoklch(43.94% 0.114 253.8)
XYZxyz(8.5560, 8.4299, 27.1575)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D538F #8F591D
analogous
#1D8C8F #1D538F #201D8F
triadic
#1D538F #8F1D53 #538F1D
tetradic
#1D538F #8F1D8C #8F591D #1D8F20
square
#1D538F #8F1D8C #8F591D #1D8F20
split-complementary
#1D538F #8F201D #8C8F1D
monochromatic
#081829 #13355C #1D538F #2771C2 #4C8FDB

Accessibility & contrast

On white

7.82
#1D538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1D538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D538F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D538F#FFFFFF#000000##FFFFFF
##1D538F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d538f;
/* rgb */ color: rgb(29, 83, 143);
/* oklch */ color: oklch(43.9% 0.114 253.8);
Tailwind
colors: {
  custom: {
    50: '#6b82b0',
    500: '#1d538f',
    950: '#000000',
  },
}
SCSS
$custom: #1d538f;
$custom-light: #6b82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d538f",
  "rgb": {
    "r": 29,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 211.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.11373,
    "h": 253.8
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#1D538F
secondary
#BD874B
accent
#983FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D538F

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

Preview Lab → · Contrast checker → · Palette generator →

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