#1D538E#1D538E

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

Color values

HEX#1D538E
RGBrgb(29, 83, 142)
HSLhsl(211, 66%, 34%)
HSVhsv(211, 80%, 56%)
CMYKcmyk(79.6%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.80, 4.45, -37.69)
CIE-LCHlch(34.80, 37.95, 276.74°)
OKLaboklab(43.88% -0.032 -0.1077)
OKLCHoklch(43.88% 0.112 253.5)
XYZxyz(8.4806, 8.3997, 26.7603)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D538E #8E581D
analogous
#1D8B8E #1D538E #1F1D8E
triadic
#1D538E #8E1D53 #538E1D
tetradic
#1D538E #8E1D8B #8E581D #1D8E1F
square
#1D538E #8E1D8B #8E581D #1D8E1F
split-complementary
#1D538E #8E1F1D #8B8E1D
monochromatic
#081828 #13355B #1D538E #2771C1 #4B90DA

Accessibility & contrast

On white

7.84
#1D538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1D538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D538E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D538E#FFFFFF#000000##FFFFFF
##1D538E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d538e;
/* rgb */ color: rgb(29, 83, 142);
/* oklch */ color: oklch(43.9% 0.112 253.5);
Tailwind
colors: {
  custom: {
    50: '#6b82af',
    500: '#1d538e',
    950: '#000000',
  },
}
SCSS
$custom: #1d538e;
$custom-light: #6b82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d538e",
  "rgb": {
    "r": 29,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 211.327,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.11236,
    "h": 253.5
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#1D538E
secondary
#BD864A
accent
#983FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D538E

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

Preview Lab → · Contrast checker → · Palette generator →

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