#1D4198#1D4198

#1D4198 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.149 H 263.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#1D4198
RGBrgb(29, 65, 152)
HSLhsl(222, 68%, 35%)
HSVhsv(222, 81%, 60%)
CMYKcmyk(80.9%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.18, 20.66, -51.24)
CIE-LCHlch(30.18, 55.24, 291.96°)
OKLaboklab(40.55% -0.0157 -0.1479)
OKLCHoklch(40.55% 0.149 263.9)
XYZxyz(8.0625, 6.3079, 30.4923)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4198 #98741D
analogous
#1D7E98 #1D4198 #361D98
triadic
#1D4198 #981D41 #41981D
tetradic
#1D4198 #981D7E #98741D #1D9836
square
#1D4198 #981D7E #98741D #1D9836
split-complementary
#1D4198 #98361D #7E981D
monochromatic
#091531 #132B65 #1D4198 #2757CB #527BDE

Accessibility & contrast

On white

9.28
#1D4198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D4198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4198
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4198#FFFFFF#000000##FFFFFF
##1D41981.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4198;
/* rgb */ color: rgb(29, 65, 152);
/* oklch */ color: oklch(40.6% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#6e75b7',
    500: '#1d4198',
    950: '#000000',
  },
}
SCSS
$custom: #1d4198;
$custom-light: #6e75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4198",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 222.439,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.14876,
    "h": 263.9
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#1D4198
secondary
#C1A050
accent
#B83DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4198

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

Preview Lab → · Contrast checker → · Palette generator →

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