#1D5182#1D5182

#1D5182 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.098 H 250.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1D5182
RGBrgb(29, 81, 130)
HSLhsl(209, 64%, 31%)
HSVhsv(209, 78%, 51%)
CMYKcmyk(77.7%, 37.7%, 0%, 49%)
CIE-LABlab(33.47, 1.00, -32.45)
CIE-LCHlch(33.47, 32.47, 271.76°)
OKLaboklab(42.61% -0.0332 -0.0924)
OKLCHoklch(42.61% 0.098 250.2)
XYZxyz(7.4769, 7.7569, 22.2179)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5182 #824E1D
analogous
#1D8280 #1D5182 #1D1E82
triadic
#1D5182 #821D51 #51821D
tetradic
#1D5182 #801D82 #824E1D #1E821D
square
#1D5182 #801D82 #824E1D #1E821D
split-complementary
#1D5182 #821D1E #82801D
monochromatic
#07131E #123250 #1D5182 #2870B4 #448FD5

Accessibility & contrast

On white

8.23
#1D5182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1D5182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5182
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5182#FFFFFF#000000##FFFFFF
##1D51821.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d5182;
/* rgb */ color: rgb(29, 81, 130);
/* oklch */ color: oklch(42.6% 0.098 250.2);
Tailwind
colors: {
  custom: {
    50: '#6881a6',
    500: '#1d5182',
    950: '#000000',
  },
}
SCSS
$custom: #1d5182;
$custom-light: #6881a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5182",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 209.109,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.09819,
    "h": 250.2
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#1D5182
secondary
#B57C46
accent
#9141E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D5182

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

Preview Lab → · Contrast checker → · Palette generator →

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