#1D5EA7#1D5EA7

#1D5EA7 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.134 H 254.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#1D5EA7
RGBrgb(29, 94, 167)
HSLhsl(212, 70%, 38%)
HSVhsv(212, 83%, 65%)
CMYKcmyk(82.6%, 43.7%, 0%, 34.5%)
CIE-LABlab(39.67, 7.20, -44.92)
CIE-LCHlch(39.67, 45.50, 279.10°)
OKLaboklab(48.16% -0.0359 -0.1287)
OKLCHoklch(48.16% 0.134 254.4)
XYZxyz(11.4818, 11.0552, 38.0804)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5EA7 #A7661D
analogous
#1DA3A7 #1D5EA7 #211DA7
triadic
#1D5EA7 #A71D5E #5EA71D
tetradic
#1D5EA7 #A71DA3 #A7661D #1DA721
square
#1D5EA7 #A71DA3 #A7661D #1DA721
split-complementary
#1D5EA7 #A7211D #A3A71D
monochromatic
#0B233F #144173 #1D5EA7 #287BDA #5C9BE3

Accessibility & contrast

On white

6.54
#1D5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#1D5EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5EA7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5EA7#FFFFFF#000000##FFFFFF
##1D5EA71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1d5ea7;
/* rgb */ color: rgb(29, 94, 167);
/* oklch */ color: oklch(48.2% 0.134 254.4);
Tailwind
colors: {
  custom: {
    50: '#718bc1',
    500: '#1d5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1d5ea7;
$custom-light: #718bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5ea7",
  "rgb": {
    "r": 29,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 211.739,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48164,
    "c": 0.13365,
    "h": 254.4
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#1D5EA7
secondary
#C79359
accent
#993BED
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1D5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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