#1D427F#1D427F

#1D427F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.112 H 259.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1D427F
RGBrgb(29, 66, 127)
HSLhsl(217, 63%, 31%)
HSVhsv(217, 77%, 50%)
CMYKcmyk(77.2%, 48%, 0%, 50.2%)
CIE-LABlab(28.61, 9.88, -38.34)
CIE-LCHlch(28.61, 39.59, 284.45°)
OKLaboklab(38.77% -0.0196 -0.11)
OKLCHoklch(38.77% 0.112 259.9)
XYZxyz(6.2843, 5.6892, 20.8415)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D427F #7F5A1D
analogous
#1D737F #1D427F #291D7F
triadic
#1D427F #7F1D42 #427F1D
tetradic
#1D427F #7F1D73 #7F5A1D #1D7F29
square
#1D427F #7F1D73 #7F5A1D #1D7F29
split-complementary
#1D427F #7F291D #737F1D
monochromatic
#060E1B #12284D #1D427F #285CB1 #4279D4

Accessibility & contrast

On white

9.82
#1D427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D427F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D427F#FFFFFF#000000##FFFFFF
##1D427F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#0A3F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d427f;
/* rgb */ color: rgb(29, 66, 127);
/* oklch */ color: oklch(38.8% 0.112 259.9);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1d427f',
    950: '#000000',
  },
}
SCSS
$custom: #1d427f;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d427f",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 217.347,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38772,
    "c": 0.11169,
    "h": 259.9
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#1D427F
secondary
#B28945
accent
#A842E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D427F

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

Preview Lab → · Contrast checker → · Palette generator →

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