#1D5FA8#1D5FA8

#1D5FA8 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.134 H 254.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#1D5FA8
RGBrgb(29, 95, 168)
HSLhsl(212, 71%, 39%)
HSVhsv(212, 83%, 66%)
CMYKcmyk(82.7%, 43.5%, 0%, 34.1%)
CIE-LABlab(40.03, 6.95, -44.94)
CIE-LCHlch(40.03, 45.47, 278.79°)
OKLaboklab(48.46% -0.0365 -0.1288)
OKLCHoklch(48.46% 0.134 254.2)
XYZxyz(11.6641, 11.2713, 38.5990)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5FA8 #A8661D
analogous
#1DA4A8 #1D5FA8 #211DA8
triadic
#1D5FA8 #A81D5F #5FA81D
tetradic
#1D5FA8 #A81DA4 #A8661D #1DA821
square
#1D5FA8 #A81DA4 #A8661D #1DA821
split-complementary
#1D5FA8 #A8211D #A4A81D
monochromatic
#0B2440 #144174 #1D5FA8 #287DDA #5C9CE3

Accessibility & contrast

On white

6.45
#1D5FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#1D5FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5FA8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5FA8#FFFFFF#000000##FFFFFF
##1D5FA81.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1d5fa8;
/* rgb */ color: rgb(29, 95, 168);
/* oklch */ color: oklch(48.5% 0.134 254.2);
Tailwind
colors: {
  custom: {
    50: '#718bc2',
    500: '#1d5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1d5fa8;
$custom-light: #718bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5fa8",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 211.511,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.13383,
    "h": 254.2
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#1D5FA8
secondary
#C7935A
accent
#983AED
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1D5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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