#1D4196#1D4196

#1D4196 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.146 H 263.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1D4196
RGBrgb(29, 65, 150)
HSLhsl(222, 68%, 35%)
HSVhsv(222, 81%, 59%)
CMYKcmyk(80.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.02, 19.86, -50.27)
CIE-LCHlch(30.02, 54.05, 291.55°)
OKLaboklab(40.38% -0.0159 -0.1451)
OKLCHoklch(40.38% 0.146 263.8)
XYZxyz(7.9000, 6.2429, 29.6369)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4196 #96721D
analogous
#1D7D96 #1D4196 #361D96
triadic
#1D4196 #961D41 #41961D
tetradic
#1D4196 #961D7D #96721D #1D9636
square
#1D4196 #961D7D #96721D #1D9636
split-complementary
#1D4196 #96361D #7D961D
monochromatic
#09152F #132B63 #1D4196 #2757C9 #507ADD

Accessibility & contrast

On white

9.34
#1D4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4196
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4196#FFFFFF#000000##FFFFFF
##1D41961.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4196;
/* rgb */ color: rgb(29, 65, 150);
/* oklch */ color: oklch(40.4% 0.146 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e75b6',
    500: '#1d4196',
    950: '#000000',
  },
}
SCSS
$custom: #1d4196;
$custom-light: #6e75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4196",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 222.149,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.14596,
    "h": 263.8
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#1D4196
secondary
#C09E4F
accent
#B73DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4196

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

Preview Lab → · Contrast checker → · Palette generator →

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