#1D3F93#1D3F93

#1D3F93 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.144 H 264.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1D3F93
RGBrgb(29, 63, 147)
HSLhsl(223, 67%, 35%)
HSVhsv(223, 80%, 58%)
CMYKcmyk(80.3%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.21, 20.03, -49.74)
CIE-LCHlch(29.21, 53.63, 291.94°)
OKLaboklab(39.7% -0.0147 -0.1436)
OKLCHoklch(39.7% 0.144 264.2)
XYZxyz(7.5488, 5.9219, 28.3433)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F93 #93711D
analogous
#1D7A93 #1D3F93 #361D93
triadic
#1D3F93 #931D3F #3F931D
tetradic
#1D3F93 #931D7A #93711D #1D9336
square
#1D3F93 #931D7A #93711D #1D9336
split-complementary
#1D3F93 #93361D #7A931D
monochromatic
#09132D #132960 #1D3F93 #2755C6 #4E77DC

Accessibility & contrast

On white

9.61
#1D3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F93
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F93#FFFFFF#000000##FFFFFF
##1D3F931.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3f93;
/* rgb */ color: rgb(29, 63, 147);
/* oklch */ color: oklch(39.7% 0.144 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d73b3',
    500: '#1d3f93',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f93;
$custom-light: #6d73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f93",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 222.712,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.397,
    "c": 0.14432,
    "h": 264.2
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#1D3F93
secondary
#BF9E4D
accent
#B83EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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