#1D4299#1D4299

#1D4299 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.149 H 263.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#1D4299
RGBrgb(29, 66, 153)
HSLhsl(222, 68%, 36%)
HSVhsv(222, 81%, 60%)
CMYKcmyk(81%, 56.9%, 0%, 40%)
CIE-LABlab(30.54, 20.37, -51.26)
CIE-LCHlch(30.54, 55.16, 291.67°)
OKLaboklab(40.85% -0.0164 -0.148)
OKLCHoklch(40.85% 0.149 263.7)
XYZxyz(8.2026, 6.4566, 30.9447)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4299 #99741D
analogous
#1D8099 #1D4299 #361D99
triadic
#1D4299 #991D42 #42991D
tetradic
#1D4299 #991D80 #99741D #1D9936
square
#1D4299 #991D80 #99741D #1D9936
split-complementary
#1D4299 #99361D #80991D
monochromatic
#091632 #132C66 #1D4299 #2758CC #527CDE

Accessibility & contrast

On white

9.16
#1D4299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1D4299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4299
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4299#FFFFFF#000000##FFFFFF
##1D42991.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4299;
/* rgb */ color: rgb(29, 66, 153);
/* oklch */ color: oklch(40.8% 0.149 263.7);
Tailwind
colors: {
  custom: {
    50: '#6e75b8',
    500: '#1d4299',
    950: '#000000',
  },
}
SCSS
$custom: #1d4299;
$custom-light: #6e75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4299",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 222.097,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.14887,
    "h": 263.7
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#1D4299
secondary
#C1A051
accent
#B73DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4299

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

Preview Lab → · Contrast checker → · Palette generator →

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