#1D5F8A#1D5F8A

#1D5F8A is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.095 H 242.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#1D5F8A
RGBrgb(29, 95, 138)
HSLhsl(204, 65%, 33%)
HSVhsv(204, 79%, 54%)
CMYKcmyk(79%, 31.2%, 0%, 45.9%)
CIE-LABlab(38.34, -4.78, -29.65)
CIE-LCHlch(38.34, 30.04, 260.85°)
OKLaboklab(46.58% -0.0446 -0.084)
OKLCHoklch(46.58% 0.095 242)
XYZxyz(9.1846, 10.2795, 25.5399)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F8A #8A481D
analogous
#1D8A7E #1D5F8A #1D288A
triadic
#1D5F8A #8A1D5F #5F8A1D
tetradic
#1D5F8A #7E1D8A #8A481D #288A1D
square
#1D5F8A #7E1D8A #8A481D #288A1D
split-complementary
#1D5F8A #8A1D28 #8A7E1D
monochromatic
#081925 #123C57 #1D5F8A #2882BD #49A0D9

Accessibility & contrast

On white

6.87
#1D5F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#1D5F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5F8A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F8A#FFFFFF#000000##FFFFFF
##1D5F8A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#006A6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d5f8a;
/* rgb */ color: rgb(29, 95, 138);
/* oklch */ color: oklch(46.6% 0.095 242.0);
Tailwind
colors: {
  custom: {
    50: '#6a8cac',
    500: '#1d5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f8a;
$custom-light: #6a8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f8a",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 203.67,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.09514,
    "h": 242
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#1D5F8A
secondary
#BB7548
accent
#8240E8
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1D5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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