#1D358D#1D358D

#1D358D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.149 H 266.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1D358D
RGBrgb(29, 53, 141)
HSLhsl(227, 66%, 33%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(79.4%, 62.4%, 0%, 44.7%)
CIE-LABlab(25.95, 24.54, -51.37)
CIE-LCHlch(25.95, 56.93, 295.54°)
OKLaboklab(37.1% -0.008 -0.1485)
OKLCHoklch(37.1% 0.149 266.9)
XYZxyz(6.5858, 4.7298, 25.7600)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D358D #8D751D
analogous
#1D6D8D #1D358D #3D1D8D
triadic
#1D358D #8D1D35 #358D1D
tetradic
#1D358D #8D1D6D #8D751D #1D8D3D
square
#1D358D #8D1D6D #8D751D #1D8D3D
split-complementary
#1D358D #8D3D1D #6D8D1D
monochromatic
#080F27 #13225A #1D358D #2748C0 #4B69DA

Accessibility & contrast

On white

10.79
#1D358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1D358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D358D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D358D#FFFFFF#000000##FFFFFF
##1D358D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d358d;
/* rgb */ color: rgb(29, 53, 141);
/* oklch */ color: oklch(37.1% 0.149 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6caf',
    500: '#1d358d',
    950: '#000000',
  },
}
SCSS
$custom: #1d358d;
$custom-light: #6c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d358d",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 227.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.1487,
    "h": 266.9
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#1D358D
secondary
#BCA44A
accent
#C43FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D358D

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

Preview Lab → · Contrast checker → · Palette generator →

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