#1D458D#1D458D

#1D458D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.128 H 261.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1D458D
RGBrgb(29, 69, 141)
HSLhsl(219, 66%, 33%)
HSVhsv(219, 79%, 55%)
CMYKcmyk(79.4%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.50, 13.48, -43.99)
CIE-LCHlch(30.50, 46.01, 287.04°)
OKLaboklab(40.53% -0.0199 -0.1265)
OKLCHoklch(40.53% 0.128 261)
XYZxyz(7.4408, 6.4397, 26.0450)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458D #8D651D
analogous
#1D7D8D #1D458D #2D1D8D
triadic
#1D458D #8D1D45 #458D1D
tetradic
#1D458D #8D1D7D #8D651D #1D8D2D
square
#1D458D #8D1D7D #8D651D #1D8D2D
split-complementary
#1D458D #8D2D1D #7D8D1D
monochromatic
#081327 #132C5A #1D458D #275EC0 #4B7EDA

Accessibility & contrast

On white

9.18
#1D458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D458D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458D#FFFFFF#000000##FFFFFF
##1D458D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d458d;
/* rgb */ color: rgb(29, 69, 141);
/* oklch */ color: oklch(40.5% 0.128 261.0);
Tailwind
colors: {
  custom: {
    50: '#6b78af',
    500: '#1d458d',
    950: '#000000',
  },
}
SCSS
$custom: #1d458d;
$custom-light: #6b78af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458d",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 218.571,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.12808,
    "h": 261
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#1D458D
secondary
#BC934A
accent
#AC3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D458D

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

Preview Lab → · Contrast checker → · Palette generator →

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