#1D3E93#1D3E93

#1D3E93 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.146 H 264.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1D3E93
RGBrgb(29, 62, 147)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 58%)
CMYKcmyk(80.3%, 57.8%, 0%, 42.4%)
CIE-LABlab(28.93, 20.72, -50.20)
CIE-LCHlch(28.93, 54.31, 292.43°)
OKLaboklab(39.49% -0.0139 -0.1449)
OKLCHoklch(39.49% 0.146 264.5)
XYZxyz(7.4939, 5.8122, 28.3250)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E93 #93721D
analogous
#1D7993 #1D3E93 #371D93
triadic
#1D3E93 #931D3E #3E931D
tetradic
#1D3E93 #931D79 #93721D #1D9337
square
#1D3E93 #931D79 #93721D #1D9337
split-complementary
#1D3E93 #93371D #79931D
monochromatic
#09132D #132860 #1D3E93 #2754C6 #4E76DC

Accessibility & contrast

On white

9.71
#1D3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D3E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E93
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E93#FFFFFF#000000##FFFFFF
##1D3E931.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3e93;
/* rgb */ color: rgb(29, 62, 147);
/* oklch */ color: oklch(39.5% 0.146 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d72b3',
    500: '#1d3e93',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e93;
$custom-light: #6d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e93",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 223.22,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39488,
    "c": 0.1456,
    "h": 264.5
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#1D3E93
secondary
#BF9F4D
accent
#BA3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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