#1D4290#1D4290

#1D4290 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.136 H 262.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1D4290
RGBrgb(29, 66, 144)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(79.9%, 54.2%, 0%, 43.5%)
CIE-LABlab(29.84, 16.76, -46.89)
CIE-LCHlch(29.84, 49.80, 289.66°)
OKLaboklab(40.1% -0.0172 -0.1351)
OKLCHoklch(40.1% 0.136 262.8)
XYZxyz(7.4871, 6.1704, 27.1766)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4290 #906B1D
analogous
#1D7C90 #1D4290 #321D90
triadic
#1D4290 #901D42 #42901D
tetradic
#1D4290 #901D7C #906B1D #1D9032
square
#1D4290 #901D7C #906B1D #1D9032
split-complementary
#1D4290 #90321D #7C901D
monochromatic
#08132A #132B5D #1D4290 #2759C3 #4C7ADB

Accessibility & contrast

On white

9.40
#1D4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4290
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4290#FFFFFF#000000##FFFFFF
##1D42901.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4290;
/* rgb */ color: rgb(29, 66, 144);
/* oklch */ color: oklch(40.1% 0.136 262.8);
Tailwind
colors: {
  custom: {
    50: '#6c75b1',
    500: '#1d4290',
    950: '#000000',
  },
}
SCSS
$custom: #1d4290;
$custom-light: #6c75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4290",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 220.696,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.13622,
    "h": 262.8
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#1D4290
secondary
#BD994B
accent
#B23EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4290

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

Preview Lab → · Contrast checker → · Palette generator →

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