#1D5F8B#1D5F8B

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

Color values

HEX#1D5F8B
RGBrgb(29, 95, 139)
HSLhsl(204, 65%, 33%)
HSVhsv(204, 79%, 55%)
CMYKcmyk(79.1%, 31.7%, 0%, 45.5%)
CIE-LABlab(38.39, -4.39, -30.18)
CIE-LCHlch(38.39, 30.50, 261.72°)
OKLaboklab(46.64% -0.0443 -0.0855)
OKLCHoklch(46.64% 0.096 242.6)
XYZxyz(9.2573, 10.3086, 25.9230)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F8B #8B491D
analogous
#1D8B80 #1D5F8B #1D288B
triadic
#1D5F8B #8B1D5F #5F8B1D
tetradic
#1D5F8B #801D8B #8B491D #288B1D
square
#1D5F8B #801D8B #8B491D #288B1D
split-complementary
#1D5F8B #8B1D28 #8B801D
monochromatic
#081A26 #123C58 #1D5F8B #2882BE #49A0D9

Accessibility & contrast

On white

6.86
#1D5F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1D5F8B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F8B#FFFFFF#000000##FFFFFF
##1D5F8B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d5f8b;
/* rgb */ color: rgb(29, 95, 139);
/* oklch */ color: oklch(46.6% 0.096 242.6);
Tailwind
colors: {
  custom: {
    50: '#6b8cad',
    500: '#1d5f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f8b;
$custom-light: #6b8cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f8b",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 139
  },
  "hsl": {
    "h": 204,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.09634,
    "h": 242.6
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#1D5F8B
secondary
#BB7649
accent
#833FE8
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1D5F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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