#1D458E#1D458E

#1D458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.130 H 261.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1D458E
RGBrgb(29, 69, 142)
HSLhsl(219, 66%, 34%)
HSVhsv(219, 80%, 56%)
CMYKcmyk(79.6%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.57, 13.88, -44.48)
CIE-LCHlch(30.57, 46.60, 287.33°)
OKLaboklab(40.61% -0.0198 -0.128)
OKLCHoklch(40.61% 0.13 261.2)
XYZxyz(7.5155, 6.4696, 26.4386)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458E #8E661D
analogous
#1D7D8E #1D458E #2D1D8E
triadic
#1D458E #8E1D45 #458E1D
tetradic
#1D458E #8E1D7D #8E661D #1D8E2D
square
#1D458E #8E1D7D #8E661D #1D8E2D
split-complementary
#1D458E #8E2D1D #7D8E1D
monochromatic
#081428 #132C5B #1D458E #275EC1 #4B7EDA

Accessibility & contrast

On white

9.15
#1D458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D458E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458E#FFFFFF#000000##FFFFFF
##1D458E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D91
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d458e;
/* rgb */ color: rgb(29, 69, 142);
/* oklch */ color: oklch(40.6% 0.130 261.2);
Tailwind
colors: {
  custom: {
    50: '#6b78b0',
    500: '#1d458e',
    950: '#000000',
  },
}
SCSS
$custom: #1d458e;
$custom-light: #6b78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458e",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 218.761,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.1295,
    "h": 261.2
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#1D458E
secondary
#BD944A
accent
#AD3FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D458E

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

Preview Lab → · Contrast checker → · Palette generator →

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