#1D5F7D#1D5F7D

#1D5F7D is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.081 H 232.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#1D5F7D
RGBrgb(29, 95, 125)
HSLhsl(199, 62%, 30%)
HSVhsv(199, 77%, 49%)
CMYKcmyk(76.8%, 24%, 0%, 51%)
CIE-LABlab(37.71, -9.68, -22.73)
CIE-LCHlch(37.71, 24.70, 246.93°)
OKLaboklab(45.88% -0.0493 -0.0639)
OKLCHoklch(45.88% 0.081 232.4)
XYZxyz(8.2991, 9.9253, 20.8764)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F7D #7D3B1D
analogous
#1D7D6B #1D5F7D #1D2F7D
triadic
#1D5F7D #7D1D5F #5F7D1D
tetradic
#1D5F7D #6B1D7D #7D3B1D #2F7D1D
square
#1D5F7D #6B1D7D #7D3B1D #2F7D1D
split-complementary
#1D5F7D #7D1D2F #7D6B1D
monochromatic
#06131A #11394B #1D5F7D #2985AF #41A6D3

Accessibility & contrast

On white

7.03
#1D5F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1D5F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5F7D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F7D#FFFFFF#000000##FFFFFF
##1D5F7D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1d5f7d;
/* rgb */ color: rgb(29, 95, 125);
/* oklch */ color: oklch(45.9% 0.081 232.4);
Tailwind
colors: {
  custom: {
    50: '#688ca2',
    500: '#1d5f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f7d;
$custom-light: #688ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f7d",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 198.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.08073,
    "h": 232.4
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#1D5F7D
secondary
#B16745
accent
#7542E5
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1D5F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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