#1D4271#1D4271

#1D4271 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.8% C 0.091 H 255.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#1D4271
RGBrgb(29, 66, 113)
HSLhsl(214, 59%, 28%)
HSVhsv(214, 74%, 44%)
CMYKcmyk(74.3%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.71, 4.23, -30.98)
CIE-LCHlch(27.71, 31.27, 277.77°)
OKLaboklab(37.78% -0.0226 -0.0883)
OKLCHoklch(37.78% 0.091 255.6)
XYZxyz(5.4345, 5.3493, 16.3657)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4271 #714C1D
analogous
#1D6C71 #1D4271 #221D71
triadic
#1D4271 #711D42 #42711D
tetradic
#1D4271 #711D6C #714C1D #1D7122
square
#1D4271 #711D6C #714C1D #1D7122
split-complementary
#1D4271 #71221D #6C711D
monochromatic
#060E18 #112640 #1D4271 #295EA2 #3C7CCD

Accessibility & contrast

On white

10.14
#1D4271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1D4271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4271
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4271#FFFFFF#000000##FFFFFF
##1D42711.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d4271;
/* rgb */ color: rgb(29, 66, 113);
/* oklch */ color: oklch(37.8% 0.091 255.6);
Tailwind
colors: {
  custom: {
    50: '#65769a',
    500: '#1d4271',
    950: '#000000',
  },
}
SCSS
$custom: #1d4271;
$custom-light: #65769a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4271",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 213.571,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37777,
    "c": 0.09118,
    "h": 255.6
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#1D4271
secondary
#A57B44
accent
#9D45E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D4271

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

Preview Lab → · Contrast checker → · Palette generator →

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