#1D358A#1D358A

#1D358A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.145 H 266.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D358A
RGBrgb(29, 53, 138)
HSLhsl(227, 65%, 33%)
HSVhsv(227, 79%, 54%)
CMYKcmyk(79%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.69, 23.36, -49.94)
CIE-LCHlch(25.69, 55.13, 295.07°)
OKLaboklab(36.82% -0.008 -0.1443)
OKLCHoklch(36.82% 0.145 266.8)
XYZxyz(6.3656, 4.6417, 24.6003)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D358A #8A721D
analogous
#1D6B8A #1D358A #3C1D8A
triadic
#1D358A #8A1D35 #358A1D
tetradic
#1D358A #8A1D6B #8A721D #1D8A3C
square
#1D358A #8A1D6B #8A721D #1D8A3C
split-complementary
#1D358A #8A3C1D #6B8A1D
monochromatic
#080E25 #122257 #1D358A #2848BD #4968D9

Accessibility & contrast

On white

10.89
#1D358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D358A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D358A#FFFFFF#000000##FFFFFF
##1D358A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d358a;
/* rgb */ color: rgb(29, 53, 138);
/* oklch */ color: oklch(36.8% 0.145 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b6bad',
    500: '#1d358a',
    950: '#000000',
  },
}
SCSS
$custom: #1d358a;
$custom-light: #6b6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d358a",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 226.789,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.14451,
    "h": 266.8
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#1D358A
secondary
#BBA248
accent
#C340E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D358A

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

Preview Lab → · Contrast checker → · Palette generator →

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