#1D5181#1D5181

#1D5181 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.097 H 249.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1D5181
RGBrgb(29, 81, 129)
HSLhsl(209, 63%, 31%)
HSVhsv(209, 78%, 51%)
CMYKcmyk(77.5%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.41, 0.60, -31.92)
CIE-LCHlch(33.41, 31.93, 271.09°)
OKLaboklab(42.54% -0.0335 -0.0908)
OKLCHoklch(42.54% 0.097 249.7)
XYZxyz(7.4101, 7.7302, 21.8662)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5181 #814D1D
analogous
#1D817F #1D5181 #1D1F81
triadic
#1D5181 #811D51 #51811D
tetradic
#1D5181 #7F1D81 #814D1D #1F811D
square
#1D5181 #7F1D81 #814D1D #1F811D
split-complementary
#1D5181 #811D1F #817F1D
monochromatic
#07121D #12324F #1D5181 #2870B3 #448FD5

Accessibility & contrast

On white

8.25
#1D5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D5181
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5181#FFFFFF#000000##FFFFFF
##1D51811.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d5181;
/* rgb */ color: rgb(29, 81, 129);
/* oklch */ color: oklch(42.5% 0.097 249.7);
Tailwind
colors: {
  custom: {
    50: '#6881a6',
    500: '#1d5181',
    950: '#000000',
  },
}
SCSS
$custom: #1d5181;
$custom-light: #6881a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5181",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 208.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.09683,
    "h": 249.7
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#1D5181
secondary
#B47B46
accent
#9141E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D5181

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

Preview Lab → · Contrast checker → · Palette generator →

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