#1D2D72#1D2D72

#1D2D72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.120 H 268.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1D2D72
RGBrgb(29, 45, 114)
HSLhsl(229, 59%, 28%)
HSVhsv(229, 75%, 45%)
CMYKcmyk(74.6%, 60.5%, 0%, 55.3%)
CIE-LABlab(21.40, 19.41, -41.77)
CIE-LCHlch(21.40, 46.06, 294.93°)
OKLaboklab(32.98% -0.0023 -0.1204)
OKLCHoklch(32.98% 0.12 268.9)
XYZxyz(4.4813, 3.3524, 16.3272)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D72 #72621D
analogous
#1D5772 #1D2D72 #371D72
triadic
#1D2D72 #721D2D #2D721D
tetradic
#1D2D72 #721D57 #72621D #1D7237
square
#1D2D72 #721D57 #72621D #1D7237
split-complementary
#1D2D72 #72371D #57721D
monochromatic
#060A18 #111A41 #1D2D72 #2940A3 #3C57CD

Accessibility & contrast

On white

12.57
#1D2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D72
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D72#FFFFFF#000000##FFFFFF
##1D2D721.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2d72;
/* rgb */ color: rgb(29, 45, 114);
/* oklch */ color: oklch(33.0% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#66659b',
    500: '#1d2d72',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d72;
$custom-light: #66659b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d72",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 228.706,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32984,
    "c": 0.12044,
    "h": 268.9
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#1D2D72
secondary
#A69445
accent
#C545E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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