#1D4091#1D4091

#1D4091 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.140 H 263.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1D4091
RGBrgb(29, 64, 145)
HSLhsl(222, 67%, 34%)
HSVhsv(222, 80%, 57%)
CMYKcmyk(80%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.34, 18.54, -48.31)
CIE-LCHlch(29.34, 51.75, 290.99°)
OKLaboklab(39.75% -0.0156 -0.1393)
OKLCHoklch(39.75% 0.14 263.6)
XYZxyz(7.4491, 5.9715, 27.5426)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4091 #916E1D
analogous
#1D7A91 #1D4091 #341D91
triadic
#1D4091 #911D40 #40911D
tetradic
#1D4091 #911D7A #916E1D #1D9134
square
#1D4091 #911D7A #916E1D #1D9134
split-complementary
#1D4091 #91341D #7A911D
monochromatic
#09132B #13295E #1D4091 #2757C4 #4D78DB

Accessibility & contrast

On white

9.57
#1D4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1D4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4091
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4091#FFFFFF#000000##FFFFFF
##1D40911.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4091;
/* rgb */ color: rgb(29, 64, 145);
/* oklch */ color: oklch(39.7% 0.140 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c74b2',
    500: '#1d4091',
    950: '#000000',
  },
}
SCSS
$custom: #1d4091;
$custom-light: #6c74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4091",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 221.897,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.14021,
    "h": 263.6
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#1D4091
secondary
#BE9B4C
accent
#B63EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4091

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

Preview Lab → · Contrast checker → · Palette generator →

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