#1D3F90#1D3F90

#1D3F90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.140 H 263.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1D3F90
RGBrgb(29, 63, 144)
HSLhsl(222, 66%, 34%)
HSVhsv(222, 80%, 56%)
CMYKcmyk(79.9%, 56.3%, 0%, 43.5%)
CIE-LABlab(28.98, 18.83, -48.29)
CIE-LCHlch(28.98, 51.83, 291.30°)
OKLaboklab(39.45% -0.0149 -0.1393)
OKLCHoklch(39.45% 0.14 263.9)
XYZxyz(7.3165, 5.8290, 27.1197)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F90 #906E1D
analogous
#1D7990 #1D3F90 #351D90
triadic
#1D3F90 #901D3F #3F901D
tetradic
#1D3F90 #901D79 #906E1D #1D9035
square
#1D3F90 #901D79 #906E1D #1D9035
split-complementary
#1D3F90 #90351D #79901D
monochromatic
#08122A #13295D #1D3F90 #2755C3 #4C77DB

Accessibility & contrast

On white

9.70
#1D3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1D3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F90
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F90#FFFFFF#000000##FFFFFF
##1D3F901.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d3f90;
/* rgb */ color: rgb(29, 63, 144);
/* oklch */ color: oklch(39.4% 0.140 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c73b1',
    500: '#1d3f90',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f90;
$custom-light: #6c73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f90",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 222.261,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.14008,
    "h": 263.9
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#1D3F90
secondary
#BD9C4B
accent
#B73EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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