#1D458B#1D458B

#1D458B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.125 H 260.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1D458B
RGBrgb(29, 69, 139)
HSLhsl(218, 65%, 33%)
HSVhsv(218, 79%, 55%)
CMYKcmyk(79.1%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.35, 12.67, -42.99)
CIE-LCHlch(30.35, 44.81, 286.43°)
OKLaboklab(40.37% -0.0202 -0.1236)
OKLCHoklch(40.37% 0.125 260.7)
XYZxyz(7.2933, 6.3807, 25.2683)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458B #8B631D
analogous
#1D7C8B #1D458B #2C1D8B
triadic
#1D458B #8B1D45 #458B1D
tetradic
#1D458B #8B1D7C #8B631D #1D8B2C
square
#1D458B #8B1D7C #8B631D #1D8B2C
split-complementary
#1D458B #8B2C1D #7C8B1D
monochromatic
#081326 #122C58 #1D458B #285EBE #497ED9

Accessibility & contrast

On white

9.23
#1D458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D458B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458B#FFFFFF#000000##FFFFFF
##1D458B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d458b;
/* rgb */ color: rgb(29, 69, 139);
/* oklch */ color: oklch(40.4% 0.125 260.7);
Tailwind
colors: {
  custom: {
    50: '#6b78ad',
    500: '#1d458b',
    950: '#000000',
  },
}
SCSS
$custom: #1d458b;
$custom-light: #6b78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458b",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 218.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40374,
    "c": 0.12522,
    "h": 260.7
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#1D458B
secondary
#BB9249
accent
#AB3FE8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D458B

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

Preview Lab → · Contrast checker → · Palette generator →

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