#1D5196#1D5196

#1D5196 is a dark, vivid cyan. Relative luminance 0.083; OKLCH L 44.0% C 0.126 H 256.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1D5196
RGBrgb(29, 81, 150)
HSLhsl(214, 68%, 35%)
HSVhsv(214, 81%, 59%)
CMYKcmyk(80.7%, 46%, 0%, 41.2%)
CIE-LABlab(34.70, 8.98, -42.72)
CIE-LCHlch(34.70, 43.65, 281.87°)
OKLaboklab(43.96% -0.0285 -0.1225)
OKLCHoklch(43.96% 0.126 256.9)
XYZxyz(8.9521, 8.3470, 29.9876)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5196 #96621D
analogous
#1D8D96 #1D5196 #261D96
triadic
#1D5196 #961D51 #51961D
tetradic
#1D5196 #961D8D #96621D #1D9626
square
#1D5196 #961D8D #96621D #1D9626
split-complementary
#1D5196 #96261D #8D961D
monochromatic
#091A2F #133563 #1D5196 #276DC9 #508DDD

Accessibility & contrast

On white

7.87
#1D5196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1D5196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5196
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5196#FFFFFF#000000##FFFFFF
##1D51961.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5799
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d5196;
/* rgb */ color: rgb(29, 81, 150);
/* oklch */ color: oklch(44.0% 0.126 256.9);
Tailwind
colors: {
  custom: {
    50: '#6d81b5',
    500: '#1d5196',
    950: '#000000',
  },
}
SCSS
$custom: #1d5196;
$custom-light: #6d81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5196",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 214.215,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.12581,
    "h": 256.9
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#1D5196
secondary
#C08F4F
accent
#A03DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D5196

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

Preview Lab → · Contrast checker → · Palette generator →

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