#1D427B#1D427B

#1D427B is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.106 H 258.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1D427B
RGBrgb(29, 66, 123)
HSLhsl(216, 62%, 30%)
HSVhsv(216, 76%, 48%)
CMYKcmyk(76.4%, 46.3%, 0%, 51.8%)
CIE-LABlab(28.35, 8.26, -36.27)
CIE-LCHlch(28.35, 37.20, 282.83°)
OKLaboklab(38.48% -0.0204 -0.1039)
OKLCHoklch(38.48% 0.106 258.9)
XYZxyz(6.0288, 5.5870, 19.4957)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D427B #7B561D
analogous
#1D717B #1D427B #271D7B
triadic
#1D427B #7B1D42 #427B1D
tetradic
#1D427B #7B1D71 #7B561D #1D7B27
square
#1D427B #7B1D71 #7B561D #1D7B27
split-complementary
#1D427B #7B271D #717B1D
monochromatic
#060D19 #112749 #1D427B #295DAD #407AD2

Accessibility & contrast

On white

9.92
#1D427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D427B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D427B#FFFFFF#000000##FFFFFF
##1D427B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#123F7A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d427b;
/* rgb */ color: rgb(29, 66, 123);
/* oklch */ color: oklch(38.5% 0.106 258.9);
Tailwind
colors: {
  custom: {
    50: '#6775a1',
    500: '#1d427b',
    950: '#000000',
  },
}
SCSS
$custom: #1d427b;
$custom-light: #6775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d427b",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 216.383,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.10584,
    "h": 258.9
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#1D427B
secondary
#AF8545
accent
#A543E5
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D427B

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

Preview Lab → · Contrast checker → · Palette generator →

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