#1D4E6C#1D4E6C

#1D4E6C is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.073 H 239.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1D4E6C
RGBrgb(29, 78, 108)
HSLhsl(203, 58%, 27%)
HSVhsv(203, 73%, 42%)
CMYKcmyk(73.1%, 27.8%, 0%, 57.6%)
CIE-LABlab(31.33, -5.62, -22.11)
CIE-LCHlch(31.33, 22.81, 255.74°)
OKLaboklab(40.53% -0.0372 -0.0623)
OKLCHoklch(40.53% 0.073 239.1)
XYZxyz(5.9368, 6.7920, 15.1826)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E6C #6C3B1D
analogous
#1D6C63 #1D4E6C #1D276C
triadic
#1D4E6C #6C1D4E #4E6C1D
tetradic
#1D4E6C #631D6C #6C3B1D #276C1D
square
#1D4E6C #631D6C #6C3B1D #276C1D
split-complementary
#1D4E6C #6C1D27 #6C631D
monochromatic
#061118 #102B3C #1D4E6C #2A719C #3993CA

Accessibility & contrast

On white

8.90
#1D4E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1D4E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E6C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E6C#FFFFFF#000000##FFFFFF
##1D4E6C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#005658
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4e6c;
/* rgb */ color: rgb(29, 78, 108);
/* oklch */ color: oklch(40.5% 0.073 239.1);
Tailwind
colors: {
  custom: {
    50: '#647f96',
    500: '#1d4e6c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e6c;
$custom-light: #647f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e6c",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 108
  },
  "hsl": {
    "h": 202.785,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.07257,
    "h": 239.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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