#1D427D#1D427D

#1D427D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.109 H 259.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1D427D
RGBrgb(29, 66, 125)
HSLhsl(217, 62%, 30%)
HSVhsv(217, 77%, 49%)
CMYKcmyk(76.8%, 47.2%, 0%, 51%)
CIE-LABlab(28.48, 9.07, -37.31)
CIE-LCHlch(28.48, 38.39, 283.66°)
OKLaboklab(38.62% -0.02 -0.1069)
OKLCHoklch(38.62% 0.109 259.4)
XYZxyz(6.1552, 5.6376, 20.1618)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D427D #7D581D
analogous
#1D727D #1D427D #281D7D
triadic
#1D427D #7D1D42 #427D1D
tetradic
#1D427D #7D1D72 #7D581D #1D7D28
square
#1D427D #7D1D72 #7D581D #1D7D28
split-complementary
#1D427D #7D281D #727D1D
monochromatic
#060E1A #11284B #1D427D #295CAF #417AD3

Accessibility & contrast

On white

9.87
#1D427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D427D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D427D#FFFFFF#000000##FFFFFF
##1D427D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#0F3F7C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d427d;
/* rgb */ color: rgb(29, 66, 125);
/* oklch */ color: oklch(38.6% 0.109 259.4);
Tailwind
colors: {
  custom: {
    50: '#6775a3',
    500: '#1d427d',
    950: '#000000',
  },
}
SCSS
$custom: #1d427d;
$custom-light: #6775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d427d",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 216.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38624,
    "c": 0.10877,
    "h": 259.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#1D427D
secondary
#B18745
accent
#A742E5
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D427D

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

Preview Lab → · Contrast checker → · Palette generator →

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