#1D2D73#1D2D73

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

Color values

HEX#1D2D73
RGBrgb(29, 45, 115)
HSLhsl(229, 60%, 28%)
HSVhsv(229, 75%, 45%)
CMYKcmyk(74.8%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.49, 19.81, -42.27)
CIE-LCHlch(21.49, 46.68, 295.11°)
OKLaboklab(33.07% -0.0023 -0.1219)
OKLCHoklch(33.07% 0.122 268.9)
XYZxyz(4.5385, 3.3753, 16.6286)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D73 #73631D
analogous
#1D5873 #1D2D73 #381D73
triadic
#1D2D73 #731D2D #2D731D
tetradic
#1D2D73 #731D58 #73631D #1D7338
square
#1D2D73 #731D58 #73631D #1D7338
split-complementary
#1D2D73 #73381D #58731D
monochromatic
#060A18 #111A42 #1D2D73 #2940A4 #3C58CE

Accessibility & contrast

On white

12.54
#1D2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D73
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D73#FFFFFF#000000##FFFFFF
##1D2D731.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2d73;
/* rgb */ color: rgb(29, 45, 115);
/* oklch */ color: oklch(33.1% 0.122 268.9);
Tailwind
colors: {
  custom: {
    50: '#66659c',
    500: '#1d2d73',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d73;
$custom-light: #66659c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d73",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 228.837,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.12192,
    "h": 268.9
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#1D2D73
secondary
#A79545
accent
#C545E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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