#1D4F7C#1D4F7C

#1D4F7C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.092 H 249.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1D4F7C
RGBrgb(29, 79, 124)
HSLhsl(208, 62%, 30%)
HSVhsv(208, 77%, 49%)
CMYKcmyk(76.6%, 36.3%, 0%, 51.4%)
CIE-LABlab(32.50, -0.06, -30.28)
CIE-LCHlch(32.50, 30.28, 269.88°)
OKLaboklab(41.73% -0.033 -0.0861)
OKLCHoklch(41.73% 0.092 249)
XYZxyz(6.9394, 7.3076, 20.1097)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F7C #7C4A1D
analogous
#1D7C7A #1D4F7C #1D1F7C
triadic
#1D4F7C #7C1D4F #4F7C1D
tetradic
#1D4F7C #7A1D7C #7C4A1D #1F7C1D
square
#1D4F7C #7A1D7C #7C4A1D #1F7C1D
split-complementary
#1D4F7C #7C1D1F #7C7A1D
monochromatic
#061019 #112F4A #1D4F7C #296FAE #418ED3

Accessibility & contrast

On white

8.53
#1D4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D4F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F7C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F7C#FFFFFF#000000##FFFFFF
##1D4F7C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4f7c;
/* rgb */ color: rgb(29, 79, 124);
/* oklch */ color: oklch(41.7% 0.092 249.0);
Tailwind
colors: {
  custom: {
    50: '#6780a2',
    500: '#1d4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f7c;
$custom-light: #6780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f7c",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 208.421,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.09217,
    "h": 249
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#1D4F7C
secondary
#B07845
accent
#9043E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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