#1D2E81#1D2E81

#1D2E81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.141 H 268.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1D2E81
RGBrgb(29, 46, 129)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 78%, 51%)
CMYKcmyk(77.5%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.00, 24.65, -48.70)
CIE-LCHlch(23.00, 54.59, 296.85°)
OKLaboklab(34.58% -0.0031 -0.1408)
OKLCHoklch(34.58% 0.141 268.7)
XYZxyz(5.4448, 3.7996, 21.2111)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E81 #81701D
analogous
#1D6081 #1D2E81 #3E1D81
triadic
#1D2E81 #811D2E #2E811D
tetradic
#1D2E81 #811D60 #81701D #1D813E
square
#1D2E81 #811D60 #81701D #1D813E
split-complementary
#1D2E81 #813E1D #60811D
monochromatic
#070A1D #121C4F #1D2E81 #2840B3 #445CD5

Accessibility & contrast

On white

11.93
#1D2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E81
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E81#FFFFFF#000000##FFFFFF
##1D2E811.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2e81;
/* rgb */ color: rgb(29, 46, 129);
/* oklch */ color: oklch(34.6% 0.141 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a66a6',
    500: '#1d2e81',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e81;
$custom-light: #6a66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e81",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 229.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.14079,
    "h": 268.7
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#1D2E81
secondary
#B4A146
accent
#CA41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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