#1D458A#1D458A

#1D458A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.124 H 260.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1D458A
RGBrgb(29, 69, 138)
HSLhsl(218, 65%, 33%)
HSVhsv(218, 79%, 54%)
CMYKcmyk(79%, 50%, 0%, 45.9%)
CIE-LABlab(30.28, 12.27, -42.48)
CIE-LCHlch(30.28, 44.22, 286.11°)
OKLaboklab(40.3% -0.0204 -0.1221)
OKLCHoklch(40.3% 0.124 260.5)
XYZxyz(7.2206, 6.3516, 24.8853)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458A #8A621D
analogous
#1D7B8A #1D458A #2C1D8A
triadic
#1D458A #8A1D45 #458A1D
tetradic
#1D458A #8A1D7B #8A621D #1D8A2C
square
#1D458A #8A1D7B #8A621D #1D8A2C
split-complementary
#1D458A #8A2C1D #7B8A1D
monochromatic
#081225 #122C57 #1D458A #285EBD #497ED9

Accessibility & contrast

On white

9.25
#1D458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D458A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458A#FFFFFF#000000##FFFFFF
##1D458A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d458a;
/* rgb */ color: rgb(29, 69, 138);
/* oklch */ color: oklch(40.3% 0.124 260.5);
Tailwind
colors: {
  custom: {
    50: '#6a78ad',
    500: '#1d458a',
    950: '#000000',
  },
}
SCSS
$custom: #1d458a;
$custom-light: #6a78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458a",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 217.982,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.12378,
    "h": 260.5
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#1D458A
secondary
#BB9148
accent
#AA40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D458A

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

Preview Lab → · Contrast checker → · Palette generator →

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