#1D2380#1D2380

#1D2380 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.153 H 271.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1D2380
RGBrgb(29, 35, 128)
HSLhsl(236, 63%, 31%)
HSVhsv(236, 77%, 50%)
CMYKcmyk(77.3%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.13, 31.65, -52.78)
CIE-LCHlch(20.13, 61.54, 300.95°)
OKLaboklab(32.46% 0.0039 -0.1527)
OKLCHoklch(32.46% 0.153 271.4)
XYZxyz(5.0027, 3.0213, 20.7374)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2380 #807A1D
analogous
#1D5480 #1D2380 #481D80
triadic
#1D2380 #801D23 #23801D
tetradic
#1D2380 #801D54 #807A1D #1D8048
square
#1D2380 #801D54 #807A1D #1D8048
split-complementary
#1D2380 #80481D #54801D
monochromatic
#06081C #12154E #1D2380 #2831B2 #434CD4

Accessibility & contrast

On white

13.09
#1D2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2380
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2380#FFFFFF#000000##FFFFFF
##1D23801.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2380;
/* rgb */ color: rgb(29, 35, 128);
/* oklch */ color: oklch(32.5% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ea6',
    500: '#1d2380',
    950: '#000000',
  },
}
SCSS
$custom: #1d2380;
$custom-light: #6b5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2380",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 236.364,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32456,
    "c": 0.15279,
    "h": 271.4
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#1D2380
secondary
#B3AD45
accent
#DC42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1D2380

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

Preview Lab → · Contrast checker → · Palette generator →

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