#1D5F95#1D5F95

#1D5F95 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.109 H 247.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#1D5F95
RGBrgb(29, 95, 149)
HSLhsl(207, 67%, 35%)
HSVhsv(207, 81%, 58%)
CMYKcmyk(80.5%, 36.2%, 0%, 41.6%)
CIE-LABlab(38.92, -0.53, -35.37)
CIE-LCHlch(38.92, 35.38, 269.15°)
OKLaboklab(47.24% -0.0412 -0.1007)
OKLCHoklch(47.24% 0.109 247.7)
XYZxyz(10.0216, 10.6143, 29.9485)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F95 #95531D
analogous
#1D958F #1D5F95 #1D2395
triadic
#1D5F95 #951D5F #5F951D
tetradic
#1D5F95 #8F1D95 #95531D #23951D
square
#1D5F95 #8F1D95 #95531D #23951D
split-complementary
#1D5F95 #951D23 #958F1D
monochromatic
#091E2F #133E62 #1D5F95 #2780C8 #509DDD

Accessibility & contrast

On white

6.72
#1D5F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#1D5F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5F95
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F95#FFFFFF#000000##FFFFFF
##1D5F951.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#345794
Tritanopia (blue-blind)
#006C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1d5f95;
/* rgb */ color: rgb(29, 95, 149);
/* oklch */ color: oklch(47.2% 0.109 247.7);
Tailwind
colors: {
  custom: {
    50: '#6d8cb4',
    500: '#1d5f95',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f95;
$custom-light: #6d8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f95",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 149
  },
  "hsl": {
    "h": 207,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47236,
    "c": 0.10882,
    "h": 247.7
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#1D5F95
secondary
#C0814E
accent
#8B3DEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1D5F95

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

Preview Lab → · Contrast checker → · Palette generator →

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