#1D4298#1D4298

#1D4298 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.147 H 263.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#1D4298
RGBrgb(29, 66, 152)
HSLhsl(222, 68%, 35%)
HSVhsv(222, 81%, 60%)
CMYKcmyk(80.9%, 56.6%, 0%, 40.4%)
CIE-LABlab(30.46, 19.97, -50.78)
CIE-LCHlch(30.46, 54.56, 291.47°)
OKLaboklab(40.76% -0.0164 -0.1466)
OKLCHoklch(40.76% 0.147 263.6)
XYZxyz(8.1204, 6.4237, 30.5116)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4298 #98731D
analogous
#1D7F98 #1D4298 #351D98
triadic
#1D4298 #981D42 #42981D
tetradic
#1D4298 #981D7F #98731D #1D9835
square
#1D4298 #981D7F #98731D #1D9835
split-complementary
#1D4298 #98351D #7F981D
monochromatic
#091531 #132C65 #1D4298 #2758CB #527CDE

Accessibility & contrast

On white

9.19
#1D4298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4298
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4298#FFFFFF#000000##FFFFFF
##1D42981.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d4298;
/* rgb */ color: rgb(29, 66, 152);
/* oklch */ color: oklch(40.8% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#6e75b7',
    500: '#1d4298',
    950: '#000000',
  },
}
SCSS
$custom: #1d4298;
$custom-light: #6e75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4298",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 221.951,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.14747,
    "h": 263.6
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4298

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

Preview Lab → · Contrast checker → · Palette generator →

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