#1D358C#1D358C

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

Color values

HEX#1D358C
RGBrgb(29, 53, 140)
HSLhsl(227, 66%, 33%)
HSVhsv(227, 79%, 55%)
CMYKcmyk(79.3%, 62.1%, 0%, 45.1%)
CIE-LABlab(25.86, 24.15, -50.89)
CIE-LCHlch(25.86, 56.33, 295.39°)
OKLaboklab(37.01% -0.008 -0.1471)
OKLCHoklch(37.01% 0.147 266.9)
XYZxyz(6.5118, 4.7001, 25.3699)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D358C #8C741D
analogous
#1D6C8C #1D358C #3C1D8C
triadic
#1D358C #8C1D35 #358C1D
tetradic
#1D358C #8C1D6C #8C741D #1D8C3C
square
#1D358C #8C1D6C #8C741D #1D8C3C
split-complementary
#1D358C #8C3C1D #6C8C1D
monochromatic
#080F27 #122259 #1D358C #2848BF #4A69D9

Accessibility & contrast

On white

10.82
#1D358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D358C
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D358C#FFFFFF#000000##FFFFFF
##1D358C1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d358c;
/* rgb */ color: rgb(29, 53, 140);
/* oklch */ color: oklch(37.0% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c6bae',
    500: '#1d358c',
    950: '#000000',
  },
}
SCSS
$custom: #1d358c;
$custom-light: #6c6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d358c",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 227.027,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.14732,
    "h": 266.9
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#1D358C
secondary
#BCA349
accent
#C43FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D358C

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

Preview Lab → · Contrast checker → · Palette generator →

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