#1D4F6D#1D4F6D

#1D4F6D is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 40.8% C 0.073 H 238.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1D4F6D
RGBrgb(29, 79, 109)
HSLhsl(203, 58%, 27%)
HSVhsv(203, 73%, 43%)
CMYKcmyk(73.4%, 27.5%, 0%, 57.3%)
CIE-LABlab(31.71, -5.87, -22.15)
CIE-LCHlch(31.71, 22.91, 255.16°)
OKLaboklab(40.85% -0.038 -0.0624)
OKLCHoklch(40.85% 0.073 238.7)
XYZxyz(6.0619, 6.9566, 15.4883)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F6D #6D3B1D
analogous
#1D6D63 #1D4F6D #1D276D
triadic
#1D4F6D #6D1D4F #4F6D1D
tetradic
#1D4F6D #631D6D #6D3B1D #276D1D
square
#1D4F6D #631D6D #6D3B1D #276D1D
split-complementary
#1D4F6D #6D1D27 #6D631D
monochromatic
#061218 #102C3D #1D4F6D #2A729D #3A94CB

Accessibility & contrast

On white

8.78
#1D4F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1D4F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F6D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F6D#FFFFFF#000000##FFFFFF
##1D4F6D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4f6d;
/* rgb */ color: rgb(29, 79, 109);
/* oklch */ color: oklch(40.8% 0.073 238.7);
Tailwind
colors: {
  custom: {
    50: '#648097',
    500: '#1d4f6d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f6d;
$custom-light: #648097;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f6d",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 109
  },
  "hsl": {
    "h": 202.5,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4085,
    "c": 0.07304,
    "h": 238.7
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#1D4F6D
secondary
#A26744
accent
#8147E1
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1D4F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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