#1D458F#1D458F

#1D458F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.131 H 261.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1D458F
RGBrgb(29, 69, 143)
HSLhsl(219, 66%, 34%)
HSVhsv(219, 80%, 56%)
CMYKcmyk(79.7%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.64, 14.29, -44.98)
CIE-LCHlch(30.64, 47.20, 287.62°)
OKLaboklab(40.69% -0.0197 -0.1294)
OKLCHoklch(40.69% 0.131 261.4)
XYZxyz(7.5910, 6.4997, 26.8358)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458F #8F671D
analogous
#1D7E8F #1D458F #2E1D8F
triadic
#1D458F #8F1D45 #458F1D
tetradic
#1D458F #8F1D7E #8F671D #1D8F2E
square
#1D458F #8F1D7E #8F671D #1D8F2E
split-complementary
#1D458F #8F2E1D #7E8F1D
monochromatic
#081429 #132C5C #1D458F #275EC2 #4C7EDB

Accessibility & contrast

On white

9.13
#1D458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D458F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458F#FFFFFF#000000##FFFFFF
##1D458F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d458f;
/* rgb */ color: rgb(29, 69, 143);
/* oklch */ color: oklch(40.7% 0.131 261.4);
Tailwind
colors: {
  custom: {
    50: '#6c78b0',
    500: '#1d458f',
    950: '#000000',
  },
}
SCSS
$custom: #1d458f;
$custom-light: #6c78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458f",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 218.947,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.13093,
    "h": 261.4
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#1D458F
secondary
#BD954B
accent
#AD3FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1D458F

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

Preview Lab → · Contrast checker → · Palette generator →

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