#1D4E6F#1D4E6F

#1D4E6F is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.076 H 241.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1D4E6F
RGBrgb(29, 78, 111)
HSLhsl(204, 59%, 27%)
HSVhsv(204, 74%, 44%)
CMYKcmyk(73.9%, 29.7%, 0%, 56.5%)
CIE-LABlab(31.48, -4.47, -23.76)
CIE-LCHlch(31.48, 24.18, 259.34°)
OKLaboklab(40.7% -0.0361 -0.0671)
OKLCHoklch(40.7% 0.076 241.7)
XYZxyz(6.0992, 6.8570, 16.0379)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E6F #6F3E1D
analogous
#1D6F67 #1D4E6F #1D256F
triadic
#1D4E6F #6F1D4E #4E6F1D
tetradic
#1D4E6F #671D6F #6F3E1D #256F1D
square
#1D4E6F #671D6F #6F3E1D #256F1D
split-complementary
#1D4E6F #6F1D25 #6F671D
monochromatic
#061118 #102C3E #1D4E6F #2A70A0 #3B91CC

Accessibility & contrast

On white

8.85
#1D4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1D4E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E6F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E6F#FFFFFF#000000##FFFFFF
##1D4E6F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4e6f;
/* rgb */ color: rgb(29, 78, 111);
/* oklch */ color: oklch(40.7% 0.076 241.7);
Tailwind
colors: {
  custom: {
    50: '#647f98',
    500: '#1d4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e6f;
$custom-light: #647f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e6f",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 204.146,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.0762,
    "h": 241.7
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#1D4E6F
secondary
#A36B44
accent
#8546E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1D4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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