#1D3D93#1D3D93

#1D3D93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.147 H 264.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1D3D93
RGBrgb(29, 61, 147)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 80%, 58%)
CMYKcmyk(80.3%, 58.5%, 0%, 42.4%)
CIE-LABlab(28.65, 21.41, -50.66)
CIE-LCHlch(28.65, 55.00, 292.91°)
OKLaboklab(39.28% -0.0132 -0.1463)
OKLCHoklch(39.28% 0.147 264.8)
XYZxyz(7.4400, 5.7044, 28.3070)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D93 #93731D
analogous
#1D7893 #1D3D93 #381D93
triadic
#1D3D93 #931D3D #3D931D
tetradic
#1D3D93 #931D78 #93731D #1D9338
square
#1D3D93 #931D78 #93731D #1D9338
split-complementary
#1D3D93 #93381D #78931D
monochromatic
#09132D #132860 #1D3D93 #2752C6 #4E75DC

Accessibility & contrast

On white

9.81
#1D3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D3D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D93
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D93#FFFFFF#000000##FFFFFF
##1D3D931.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3d93;
/* rgb */ color: rgb(29, 61, 147);
/* oklch */ color: oklch(39.3% 0.147 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d72b3',
    500: '#1d3d93',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d93;
$custom-light: #6d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d93",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 223.729,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.14688,
    "h": 264.8
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#1D3D93
secondary
#BFA04D
accent
#BB3EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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