#1D4D7C#1D4D7C

#1D4D7C is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.094 H 250.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1D4D7C
RGBrgb(29, 77, 124)
HSLhsl(210, 62%, 30%)
HSVhsv(210, 77%, 49%)
CMYKcmyk(76.6%, 37.9%, 0%, 51.4%)
CIE-LABlab(31.86, 1.25, -31.29)
CIE-LCHlch(31.86, 31.31, 272.28°)
OKLaboklab(41.23% -0.0309 -0.089)
OKLCHoklch(41.23% 0.094 250.8)
XYZxyz(6.7973, 7.0234, 20.0623)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D7C #7C4C1D
analogous
#1D7C7C #1D4D7C #1D1D7C
triadic
#1D4D7C #7C1D4D #4D7C1D
tetradic
#1D4D7C #7C1D7C #7C4C1D #1D7C1D
square
#1D4D7C #7C1D7C #7C4C1D #1D7C1D
split-complementary
#1D4D7C #7C1D1D #7C7C1D
monochromatic
#060F19 #112E4A #1D4D7C #296CAE #418AD3

Accessibility & contrast

On white

8.73
#1D4D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1D4D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D7C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D7C#FFFFFF#000000##FFFFFF
##1D4D7C1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4d7c;
/* rgb */ color: rgb(29, 77, 124);
/* oklch */ color: oklch(41.2% 0.094 250.8);
Tailwind
colors: {
  custom: {
    50: '#677ea2',
    500: '#1d4d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d7c;
$custom-light: #677ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d7c",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 209.684,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41233,
    "c": 0.09428,
    "h": 250.8
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#1D4D7C
secondary
#B07A45
accent
#9343E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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