#1D5274#1D5274

#1D5274 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.0% C 0.079 H 240.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1D5274
RGBrgb(29, 82, 116)
HSLhsl(203, 60%, 28%)
HSVhsv(203, 75%, 45%)
CMYKcmyk(75%, 29.3%, 0%, 54.5%)
CIE-LABlab(33.04, -5.09, -24.45)
CIE-LCHlch(33.04, 24.97, 258.23°)
OKLaboklab(42.02% -0.0387 -0.069)
OKLCHoklch(42.02% 0.079 240.7)
XYZxyz(6.6751, 7.5560, 17.6263)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5274 #743F1D
analogous
#1D746A #1D5274 #1D2674
triadic
#1D5274 #741D52 #52741D
tetradic
#1D5274 #6A1D74 #743F1D #26741D
square
#1D5274 #6A1D74 #743F1D #26741D
split-complementary
#1D5274 #741D26 #746A1D
monochromatic
#061118 #112F43 #1D5274 #2975A5 #3D96CE

Accessibility & contrast

On white

8.36
#1D5274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1D5274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5274
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5274#FFFFFF#000000##FFFFFF
##1D52741.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#005A5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d5274;
/* rgb */ color: rgb(29, 82, 116);
/* oklch */ color: oklch(42.0% 0.079 240.7);
Tailwind
colors: {
  custom: {
    50: '#66829c',
    500: '#1d5274',
    950: '#000000',
  },
}
SCSS
$custom: #1d5274;
$custom-light: #66829c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5274",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 203.448,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.07916,
    "h": 240.7
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#1D5274
secondary
#A86C45
accent
#8345E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D5274

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

Preview Lab → · Contrast checker → · Palette generator →

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