#1D5199#1D5199

#1D5199 is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.2% C 0.130 H 257.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1D5199
RGBrgb(29, 81, 153)
HSLhsl(215, 68%, 36%)
HSVhsv(215, 81%, 60%)
CMYKcmyk(81%, 47.1%, 0%, 40%)
CIE-LABlab(34.89, 10.18, -44.22)
CIE-LCHlch(34.89, 45.37, 282.97°)
OKLaboklab(44.17% -0.0279 -0.1269)
OKLCHoklch(44.17% 0.13 257.6)
XYZxyz(9.1968, 8.4449, 31.2761)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5199 #99651D
analogous
#1D8F99 #1D5199 #271D99
triadic
#1D5199 #991D51 #51991D
tetradic
#1D5199 #991D8F #99651D #1D9927
square
#1D5199 #991D8F #99651D #1D9927
split-complementary
#1D5199 #99271D #8F991D
monochromatic
#091B32 #133666 #1D5199 #276CCC #528DDE

Accessibility & contrast

On white

7.81
#1D5199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1D5199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5199
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5199#FFFFFF#000000##FFFFFF
##1D51991.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#094D98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d5199;
/* rgb */ color: rgb(29, 81, 153);
/* oklch */ color: oklch(44.2% 0.130 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e81b7',
    500: '#1d5199',
    950: '#000000',
  },
}
SCSS
$custom: #1d5199;
$custom-light: #6e81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5199",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 214.839,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.12997,
    "h": 257.6
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#1D5199
secondary
#C19251
accent
#A23DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D5199

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

Preview Lab → · Contrast checker → · Palette generator →

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