#1D5F97#1D5F97

#1D5F97 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.111 H 248.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#1D5F97
RGBrgb(29, 95, 151)
HSLhsl(208, 68%, 35%)
HSVhsv(208, 81%, 59%)
CMYKcmyk(80.8%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.03, 0.26, -36.40)
CIE-LCHlch(39.03, 36.40, 270.40°)
OKLaboklab(47.36% -0.0407 -0.1037)
OKLCHoklch(47.36% 0.111 248.6)
XYZxyz(10.1827, 10.6788, 30.7967)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F97 #97551D
analogous
#1D9792 #1D5F97 #1D2297
triadic
#1D5F97 #971D5F #5F971D
tetradic
#1D5F97 #921D97 #97551D #22971D
square
#1D5F97 #921D97 #97551D #22971D
split-complementary
#1D5F97 #971D22 #97921D
monochromatic
#091E30 #133F64 #1D5F97 #277FCA #519DDE

Accessibility & contrast

On white

6.70
#1D5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#1D5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5F97
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F97#FFFFFF#000000##FFFFFF
##1D5F971.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#325796
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1d5f97;
/* rgb */ color: rgb(29, 95, 151);
/* oklch */ color: oklch(47.4% 0.111 248.6);
Tailwind
colors: {
  custom: {
    50: '#6d8cb6',
    500: '#1d5f97',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f97;
$custom-light: #6d8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f97",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 207.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.1114,
    "h": 248.6
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#1D5F97
secondary
#C0834F
accent
#8D3DEB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1D5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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