#1D427E#1D427E

#1D427E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.110 H 259.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1D427E
RGBrgb(29, 66, 126)
HSLhsl(217, 63%, 30%)
HSVhsv(217, 77%, 49%)
CMYKcmyk(77%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.55, 9.47, -37.82)
CIE-LCHlch(28.55, 38.99, 284.06°)
OKLaboklab(38.7% -0.0198 -0.1084)
OKLCHoklch(38.7% 0.11 259.7)
XYZxyz(6.2194, 5.6633, 20.5000)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D427E #7E591D
analogous
#1D737E #1D427E #281D7E
triadic
#1D427E #7E1D42 #427E1D
tetradic
#1D427E #7E1D73 #7E591D #1D7E28
square
#1D427E #7E1D73 #7E591D #1D7E28
split-complementary
#1D427E #7E281D #737E1D
monochromatic
#060E1B #12284C #1D427E #285CB0 #4279D3

Accessibility & contrast

On white

9.85
#1D427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D427E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D427E#FFFFFF#000000##FFFFFF
##1D427E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d427e;
/* rgb */ color: rgb(29, 66, 126);
/* oklch */ color: oklch(38.7% 0.110 259.7);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1d427e',
    950: '#000000',
  },
}
SCSS
$custom: #1d427e;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d427e",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 217.113,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.11023,
    "h": 259.7
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#1D427E
secondary
#B18845
accent
#A742E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D427E

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

Preview Lab → · Contrast checker → · Palette generator →

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