#1D358F#1D358F

#1D358F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.151 H 267.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#1D358F
RGBrgb(29, 53, 143)
HSLhsl(227, 66%, 34%)
HSVhsv(227, 80%, 56%)
CMYKcmyk(79.7%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.13, 25.33, -52.32)
CIE-LCHlch(26.13, 58.13, 295.84°)
OKLaboklab(37.29% -0.008 -0.1513)
OKLCHoklch(37.29% 0.151 267)
XYZxyz(6.7360, 4.7898, 26.5508)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D358F #8F771D
analogous
#1D6E8F #1D358F #3E1D8F
triadic
#1D358F #8F1D35 #358F1D
tetradic
#1D358F #8F1D6E #8F771D #1D8F3E
square
#1D358F #8F1D6E #8F771D #1D8F3E
split-complementary
#1D358F #8F3E1D #6E8F1D
monochromatic
#080F29 #13225C #1D358F #2748C2 #4C6ADB

Accessibility & contrast

On white

10.72
#1D358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1D358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D358F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D358F#FFFFFF#000000##FFFFFF
##1D358F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d358f;
/* rgb */ color: rgb(29, 53, 143);
/* oklch */ color: oklch(37.3% 0.151 267.0);
Tailwind
colors: {
  custom: {
    50: '#6d6cb1',
    500: '#1d358f',
    950: '#000000',
  },
}
SCSS
$custom: #1d358f;
$custom-light: #6d6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d358f",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 227.368,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.15148,
    "h": 267
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#1D358F
secondary
#BDA54B
accent
#C53FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D358F

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

Preview Lab → · Contrast checker → · Palette generator →

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