#1D4A98#1D4A98

#1D4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.137 H 260.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1D4A98
RGBrgb(29, 74, 152)
HSLhsl(218, 68%, 35%)
HSVhsv(218, 81%, 60%)
CMYKcmyk(80.9%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.75, 14.50, -47.06)
CIE-LCHlch(32.75, 49.24, 287.13°)
OKLaboklab(42.51% -0.0224 -0.1354)
OKLCHoklch(42.51% 0.137 260.6)
XYZxyz(8.6209, 7.4247, 30.6784)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A98 #986B1D
analogous
#1D8798 #1D4A98 #2E1D98
triadic
#1D4A98 #981D4A #4A981D
tetradic
#1D4A98 #981D87 #986B1D #1D982E
square
#1D4A98 #981D87 #986B1D #1D982E
split-complementary
#1D4A98 #982E1D #87981D
monochromatic
#091831 #133165 #1D4A98 #2763CB #5285DE

Accessibility & contrast

On white

8.45
#1D4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A98
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A98#FFFFFF#000000##FFFFFF
##1D4A981.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4a98;
/* rgb */ color: rgb(29, 74, 152);
/* oklch */ color: oklch(42.5% 0.137 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7bb7',
    500: '#1d4a98',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a98;
$custom-light: #6e7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a98",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 218.049,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.13728,
    "h": 260.6
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#1D4A98
secondary
#C19850
accent
#AB3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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