#1D458C#1D458C

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

Color values

HEX#1D458C
RGBrgb(29, 69, 140)
HSLhsl(218, 66%, 33%)
HSVhsv(218, 79%, 55%)
CMYKcmyk(79.3%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.42, 13.08, -43.49)
CIE-LCHlch(30.42, 45.41, 286.74°)
OKLaboklab(40.45% -0.0201 -0.125)
OKLCHoklch(40.45% 0.127 260.9)
XYZxyz(7.3667, 6.4101, 25.6549)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D458C #8C641D
analogous
#1D7C8C #1D458C #2C1D8C
triadic
#1D458C #8C1D45 #458C1D
tetradic
#1D458C #8C1D7C #8C641D #1D8C2C
square
#1D458C #8C1D7C #8C641D #1D8C2C
split-complementary
#1D458C #8C2C1D #7C8C1D
monochromatic
#081327 #122C59 #1D458C #285EBF #4A7ED9

Accessibility & contrast

On white

9.20
#1D458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D458C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D458C#FFFFFF#000000##FFFFFF
##1D458C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d458c;
/* rgb */ color: rgb(29, 69, 140);
/* oklch */ color: oklch(40.5% 0.127 260.9);
Tailwind
colors: {
  custom: {
    50: '#6b78ae',
    500: '#1d458c',
    950: '#000000',
  },
}
SCSS
$custom: #1d458c;
$custom-light: #6b78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d458c",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 218.378,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.12665,
    "h": 260.9
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D458C

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

Preview Lab → · Contrast checker → · Palette generator →

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