#1D4F84#1D4F84

#1D4F84 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.103 H 252.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1D4F84
RGBrgb(29, 79, 132)
HSLhsl(211, 64%, 32%)
HSVhsv(211, 78%, 52%)
CMYKcmyk(78%, 40.2%, 0%, 48.2%)
CIE-LABlab(32.96, 3.10, -34.50)
CIE-LCHlch(32.96, 34.64, 275.14°)
OKLaboklab(42.24% -0.0307 -0.0984)
OKLCHoklch(42.24% 0.103 252.6)
XYZxyz(7.4660, 7.5183, 22.8830)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F84 #84521D
analogous
#1D8384 #1D4F84 #1F1D84
triadic
#1D4F84 #841D4F #4F841D
tetradic
#1D4F84 #841D83 #84521D #1D841F
square
#1D4F84 #841D83 #84521D #1D841F
split-complementary
#1D4F84 #841F1D #83841D
monochromatic
#071320 #123152 #1D4F84 #286DB6 #458CD6

Accessibility & contrast

On white

8.39
#1D4F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4F84
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F84#FFFFFF#000000##FFFFFF
##1D4F841.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f84;
/* rgb */ color: rgb(29, 79, 132);
/* oklch */ color: oklch(42.2% 0.103 252.6);
Tailwind
colors: {
  custom: {
    50: '#697fa8',
    500: '#1d4f84',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f84;
$custom-light: #697fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f84",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 210.874,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.10311,
    "h": 252.6
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#1D4F84
secondary
#B78046
accent
#9641E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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