#1D3290#1D3290

#1D3290 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.157 H 267.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3290
RGBrgb(29, 50, 144)
HSLhsl(229, 66%, 34%)
HSVhsv(229, 80%, 56%)
CMYKcmyk(79.9%, 65.3%, 0%, 43.5%)
CIE-LABlab(25.43, 27.77, -54.08)
CIE-LCHlch(25.43, 60.79, 297.18°)
OKLaboklab(36.8% -0.0061 -0.1565)
OKLCHoklch(36.8% 0.157 267.8)
XYZxyz(6.6796, 4.5553, 26.9074)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3290 #907B1D
analogous
#1D6C90 #1D3290 #411D90
triadic
#1D3290 #901D32 #32901D
tetradic
#1D3290 #901D6C #907B1D #1D9041
square
#1D3290 #901D6C #907B1D #1D9041
split-complementary
#1D3290 #90411D #6C901D
monochromatic
#080F2A #13205D #1D3290 #2744C3 #4C66DB

Accessibility & contrast

On white

10.99
#1D3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3290
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3290#FFFFFF#000000##FFFFFF
##1D32901.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3290;
/* rgb */ color: rgb(29, 50, 144);
/* oklch */ color: oklch(36.8% 0.157 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d69b1',
    500: '#1d3290',
    950: '#000000',
  },
}
SCSS
$custom: #1d3290;
$custom-light: #6d69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3290",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 229.043,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.15659,
    "h": 267.8
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#1D3290
secondary
#BDA94B
accent
#CA3EE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D3290

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

Preview Lab → · Contrast checker → · Palette generator →

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