#1D3D90#1D3D90

#1D3D90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.143 H 264.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1D3D90
RGBrgb(29, 61, 144)
HSLhsl(223, 66%, 34%)
HSVhsv(223, 80%, 56%)
CMYKcmyk(79.9%, 57.6%, 0%, 43.5%)
CIE-LABlab(28.41, 20.21, -49.21)
CIE-LCHlch(28.41, 53.20, 292.33°)
OKLaboklab(39.02% -0.0134 -0.142)
OKLCHoklch(39.02% 0.143 264.6)
XYZxyz(7.2077, 5.6115, 27.0834)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D90 #90701D
analogous
#1D7790 #1D3D90 #371D90
triadic
#1D3D90 #901D3D #3D901D
tetradic
#1D3D90 #901D77 #90701D #1D9037
square
#1D3D90 #901D77 #90701D #1D9037
split-complementary
#1D3D90 #90371D #77901D
monochromatic
#08122A #13275D #1D3D90 #2753C3 #4C74DB

Accessibility & contrast

On white

9.89
#1D3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D90
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D90#FFFFFF#000000##FFFFFF
##1D3D901.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3d90;
/* rgb */ color: rgb(29, 61, 144);
/* oklch */ color: oklch(39.0% 0.143 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c72b1',
    500: '#1d3d90',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d90;
$custom-light: #6c72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d90",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 223.304,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.14266,
    "h": 264.6
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#1D3D90
secondary
#BD9E4B
accent
#BA3EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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