#1D4F7A#1D4F7A

#1D4F7A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.089 H 248.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1D4F7A
RGBrgb(29, 79, 122)
HSLhsl(208, 62%, 30%)
HSVhsv(208, 76%, 48%)
CMYKcmyk(76.2%, 35.2%, 0%, 52.2%)
CIE-LABlab(32.39, -0.85, -29.21)
CIE-LCHlch(32.39, 29.23, 268.34°)
OKLaboklab(41.61% -0.0336 -0.0829)
OKLCHoklch(41.61% 0.089 248)
XYZxyz(6.8142, 7.2575, 19.4503)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F7A #7A481D
analogous
#1D7A77 #1D4F7A #1D217A
triadic
#1D4F7A #7A1D4F #4F7A1D
tetradic
#1D4F7A #771D7A #7A481D #217A1D
square
#1D4F7A #771D7A #7A481D #217A1D
split-complementary
#1D4F7A #7A1D21 #7A771D
monochromatic
#061019 #112F49 #1D4F7A #296FAB #408ED2

Accessibility & contrast

On white

8.57
#1D4F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F7A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F7A#FFFFFF#000000##FFFFFF
##1D4F7A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4f7a;
/* rgb */ color: rgb(29, 79, 122);
/* oklch */ color: oklch(41.6% 0.089 248.0);
Tailwind
colors: {
  custom: {
    50: '#6780a0',
    500: '#1d4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f7a;
$custom-light: #6780a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f7a",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 207.742,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.08949,
    "h": 248
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#1D4F7A
secondary
#AE7545
accent
#8E43E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1D4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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