#1D3080#1D3080

#1D3080 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.137 H 268.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1D3080
RGBrgb(29, 48, 128)
HSLhsl(228, 63%, 31%)
HSVhsv(228, 77%, 50%)
CMYKcmyk(77.3%, 62.5%, 0%, 49.8%)
CIE-LABlab(23.45, 22.87, -47.34)
CIE-LCHlch(23.45, 52.57, 295.79°)
OKLaboklab(34.89% -0.0045 -0.1367)
OKLCHoklch(34.89% 0.137 268.1)
XYZxyz(5.4586, 3.9330, 20.8894)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3080 #806D1D
analogous
#1D6180 #1D3080 #3B1D80
triadic
#1D3080 #801D30 #30801D
tetradic
#1D3080 #801D61 #806D1D #1D803B
square
#1D3080 #801D61 #806D1D #1D803B
split-complementary
#1D3080 #803B1D #61801D
monochromatic
#060B1C #121D4E #1D3080 #2843B2 #435FD4

Accessibility & contrast

On white

11.75
#1D3080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D3080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3080
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3080#FFFFFF#000000##FFFFFF
##1D30801.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d3080;
/* rgb */ color: rgb(29, 48, 128);
/* oklch */ color: oklch(34.9% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#6968a6',
    500: '#1d3080',
    950: '#000000',
  },
}
SCSS
$custom: #1d3080;
$custom-light: #6968a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3080",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 228.485,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.1368,
    "h": 268.1
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#1D3080
secondary
#B39E45
accent
#C742E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3080

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

Preview Lab → · Contrast checker → · Palette generator →

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