#1D4F8E#1D4F8E

#1D4F8E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.117 H 256.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#1D4F8E
RGBrgb(29, 79, 142)
HSLhsl(213, 66%, 34%)
HSVhsv(213, 80%, 56%)
CMYKcmyk(79.6%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.57, 7.10, -39.65)
CIE-LCHlch(33.57, 40.28, 280.16°)
OKLaboklab(42.92% -0.0284 -0.1136)
OKLCHoklch(42.92% 0.117 256)
XYZxyz(8.1834, 7.8052, 26.6612)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F8E #8E5C1D
analogous
#1D878E #1D4F8E #231D8E
triadic
#1D4F8E #8E1D4F #4F8E1D
tetradic
#1D4F8E #8E1D87 #8E5C1D #1D8E23
square
#1D4F8E #8E1D87 #8E5C1D #1D8E23
split-complementary
#1D4F8E #8E231D #878E1D
monochromatic
#081628 #13335B #1D4F8E #276BC1 #4B8ADA

Accessibility & contrast

On white

8.20
#1D4F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1D4F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F8E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F8E#FFFFFF#000000##FFFFFF
##1D4F8E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4f8e;
/* rgb */ color: rgb(29, 79, 142);
/* oklch */ color: oklch(42.9% 0.117 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1d4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f8e;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f8e",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 213.451,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.11705,
    "h": 256
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#1D4F8E
secondary
#BD8A4A
accent
#9E3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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