#1D3182#1D3182

#1D3182 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.138 H 267.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1D3182
RGBrgb(29, 49, 130)
HSLhsl(228, 64%, 31%)
HSVhsv(228, 78%, 51%)
CMYKcmyk(77.7%, 62.3%, 0%, 49%)
CIE-LABlab(23.90, 22.97, -47.86)
CIE-LCHlch(23.90, 53.09, 295.63°)
OKLaboklab(35.27% -0.0052 -0.1383)
OKLCHoklch(35.27% 0.138 267.8)
XYZxyz(5.6329, 4.0689, 21.6033)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3182 #826E1D
analogous
#1D6382 #1D3182 #3B1D82
triadic
#1D3182 #821D31 #31821D
tetradic
#1D3182 #821D63 #826E1D #1D823B
square
#1D3182 #821D63 #826E1D #1D823B
split-complementary
#1D3182 #823B1D #63821D
monochromatic
#070B1E #121E50 #1D3182 #2844B4 #4461D5

Accessibility & contrast

On white

11.58
#1D3182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D3182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3182
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3182#FFFFFF#000000##FFFFFF
##1D31821.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3182;
/* rgb */ color: rgb(29, 49, 130);
/* oklch */ color: oklch(35.3% 0.138 267.8);
Tailwind
colors: {
  custom: {
    50: '#6a68a7',
    500: '#1d3182',
    950: '#000000',
  },
}
SCSS
$custom: #1d3182;
$custom-light: #6a68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3182",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 228.119,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.13836,
    "h": 267.8
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#1D3182
secondary
#B59F46
accent
#C641E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3182

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

Preview Lab → · Contrast checker → · Palette generator →

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