#1D5EA8#1D5EA8

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

Color values

HEX#1D5EA8
RGBrgb(29, 94, 168)
HSLhsl(212, 71%, 39%)
HSVhsv(212, 83%, 66%)
CMYKcmyk(82.7%, 44%, 0%, 34.1%)
CIE-LABlab(39.74, 7.59, -45.42)
CIE-LCHlch(39.74, 46.05, 279.49°)
OKLaboklab(48.23% -0.0356 -0.1302)
OKLCHoklch(48.23% 0.135 254.7)
XYZxyz(11.5746, 11.0923, 38.5692)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5EA8 #A8671D
analogous
#1DA3A8 #1D5EA8 #211DA8
triadic
#1D5EA8 #A81D5E #5EA81D
tetradic
#1D5EA8 #A81DA3 #A8671D #1DA821
square
#1D5EA8 #A81DA3 #A8671D #1DA821
split-complementary
#1D5EA8 #A8211D #A3A81D
monochromatic
#0B2440 #144174 #1D5EA8 #287BDA #5C9BE3

Accessibility & contrast

On white

6.52
#1D5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#1D5EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5EA8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5EA8#FFFFFF#000000##FFFFFF
##1D5EA81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#1C58A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1d5ea8;
/* rgb */ color: rgb(29, 94, 168);
/* oklch */ color: oklch(48.2% 0.135 254.7);
Tailwind
colors: {
  custom: {
    50: '#718bc2',
    500: '#1d5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1d5ea8;
$custom-light: #718bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5ea8",
  "rgb": {
    "r": 29,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 211.942,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.13499,
    "h": 254.7
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#1D5EA8
secondary
#C7945A
accent
#9A3AED
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1D5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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