#1D5281#1D5281

#1D5281 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.096 H 248.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1D5281
RGBrgb(29, 82, 129)
HSLhsl(208, 63%, 31%)
HSVhsv(208, 78%, 51%)
CMYKcmyk(77.5%, 36.4%, 0%, 49.4%)
CIE-LABlab(33.73, -0.04, -31.42)
CIE-LCHlch(33.73, 31.42, 269.92°)
OKLaboklab(42.79% -0.0345 -0.0894)
OKLCHoklch(42.79% 0.096 248.9)
XYZxyz(7.4849, 7.8799, 21.8911)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5281 #814C1D
analogous
#1D817E #1D5281 #1D2081
triadic
#1D5281 #811D52 #52811D
tetradic
#1D5281 #7E1D81 #814C1D #20811D
square
#1D5281 #7E1D81 #814C1D #20811D
split-complementary
#1D5281 #811D20 #817E1D
monochromatic
#07121D #12324F #1D5281 #2872B3 #4491D5

Accessibility & contrast

On white

8.15
#1D5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1D5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5281
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5281#FFFFFF#000000##FFFFFF
##1D52811.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d5281;
/* rgb */ color: rgb(29, 82, 129);
/* oklch */ color: oklch(42.8% 0.096 248.9);
Tailwind
colors: {
  custom: {
    50: '#6882a6',
    500: '#1d5281',
    950: '#000000',
  },
}
SCSS
$custom: #1d5281;
$custom-light: #6882a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5281",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 208.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.0958,
    "h": 248.9
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#1D5281
secondary
#B47A46
accent
#8F41E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D5281

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

Preview Lab → · Contrast checker → · Palette generator →

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