#1D5271#1D5271

#1D5271 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.076 H 238.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1D5271
RGBrgb(29, 82, 113)
HSLhsl(202, 59%, 28%)
HSVhsv(202, 74%, 44%)
CMYKcmyk(74.3%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.89, -6.23, -22.81)
CIE-LCHlch(32.89, 23.64, 254.72°)
OKLaboklab(41.85% -0.0398 -0.0643)
OKLCHoklch(41.85% 0.076 238.2)
XYZxyz(6.5035, 7.4873, 16.7220)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5271 #713C1D
analogous
#1D7166 #1D5271 #1D2871
triadic
#1D5271 #711D52 #52711D
tetradic
#1D5271 #661D71 #713C1D #28711D
square
#1D5271 #661D71 #713C1D #28711D
split-complementary
#1D5271 #711D28 #71661D
monochromatic
#061218 #112F40 #1D5271 #2975A2 #3C97CD

Accessibility & contrast

On white

8.41
#1D5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1D5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5271
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5271#FFFFFF#000000##FFFFFF
##1D52711.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435272
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d5271;
/* rgb */ color: rgb(29, 82, 113);
/* oklch */ color: oklch(41.9% 0.076 238.2);
Tailwind
colors: {
  custom: {
    50: '#65829a',
    500: '#1d5271',
    950: '#000000',
  },
}
SCSS
$custom: #1d5271;
$custom-light: #65829a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5271",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 202.143,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.07561,
    "h": 238.2
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#1D5271
secondary
#A56844
accent
#7F45E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D5271

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

Preview Lab → · Contrast checker → · Palette generator →

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