#1D2D74#1D2D74

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

Color values

HEX#1D2D74
RGBrgb(29, 45, 116)
HSLhsl(229, 60%, 28%)
HSVhsv(229, 75%, 45%)
CMYKcmyk(75%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.57, 20.21, -42.77)
CIE-LCHlch(21.57, 47.30, 295.29°)
OKLaboklab(33.16% -0.0023 -0.1234)
OKLCHoklch(33.16% 0.123 268.9)
XYZxyz(4.5964, 3.3985, 16.9333)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D74 #74641D
analogous
#1D5874 #1D2D74 #381D74
triadic
#1D2D74 #741D2D #2D741D
tetradic
#1D2D74 #741D58 #74641D #1D7438
square
#1D2D74 #741D58 #74641D #1D7438
split-complementary
#1D2D74 #74381D #58741D
monochromatic
#060918 #111A43 #1D2D74 #2940A5 #3D58CE

Accessibility & contrast

On white

12.50
#1D2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D74
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D74#FFFFFF#000000##FFFFFF
##1D2D741.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2d74;
/* rgb */ color: rgb(29, 45, 116);
/* oklch */ color: oklch(33.2% 0.123 268.9);
Tailwind
colors: {
  custom: {
    50: '#66659d',
    500: '#1d2d74',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d74;
$custom-light: #66659d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d74",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 228.966,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.12339,
    "h": 268.9
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#1D2D74
secondary
#A89645
accent
#C645E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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