#1D2E80#1D2E80

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

Color values

HEX#1D2E80
RGBrgb(29, 46, 128)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 77%, 50%)
CMYKcmyk(77.3%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.91, 24.26, -48.22)
CIE-LCHlch(22.91, 53.98, 296.71°)
OKLaboklab(34.48% -0.0031 -0.1393)
OKLCHoklch(34.48% 0.139 268.7)
XYZxyz(5.3786, 3.7731, 20.8627)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E80 #806F1D
analogous
#1D5F80 #1D2E80 #3D1D80
triadic
#1D2E80 #801D2E #2E801D
tetradic
#1D2E80 #801D5F #806F1D #1D803D
square
#1D2E80 #801D5F #806F1D #1D803D
split-complementary
#1D2E80 #803D1D #5F801D
monochromatic
#060A1C #121C4E #1D2E80 #2840B2 #435CD4

Accessibility & contrast

On white

11.97
#1D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E80
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E80#FFFFFF#000000##FFFFFF
##1D2E801.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2e80;
/* rgb */ color: rgb(29, 46, 128);
/* oklch */ color: oklch(34.5% 0.139 268.7);
Tailwind
colors: {
  custom: {
    50: '#6966a6',
    500: '#1d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e80;
$custom-light: #6966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e80",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 229.697,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.13938,
    "h": 268.7
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#1D2E80
secondary
#B3A045
accent
#CA42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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