#1D2D70#1D2D70

#1D2D70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.117 H 268.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1D2D70
RGBrgb(29, 45, 112)
HSLhsl(228, 59%, 28%)
HSVhsv(228, 74%, 44%)
CMYKcmyk(74.1%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.24, 18.61, -40.75)
CIE-LCHlch(21.24, 44.80, 294.54°)
OKLaboklab(32.81% -0.0024 -0.1174)
OKLCHoklch(32.81% 0.117 268.8)
XYZxyz(4.3687, 3.3074, 15.7342)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D70 #70601D
analogous
#1D5670 #1D2D70 #371D70
triadic
#1D2D70 #701D2D #2D701D
tetradic
#1D2D70 #701D56 #70601D #1D7037
square
#1D2D70 #701D56 #70601D #1D7037
split-complementary
#1D2D70 #70371D #56701D
monochromatic
#060A18 #10193F #1D2D70 #2A41A1 #3B57CC

Accessibility & contrast

On white

12.64
#1D2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D70
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D70#FFFFFF#000000##FFFFFF
##1D2D701.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2d70;
/* rgb */ color: rgb(29, 45, 112);
/* oklch */ color: oklch(32.8% 0.117 268.8);
Tailwind
colors: {
  custom: {
    50: '#65659a',
    500: '#1d2d70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d70;
$custom-light: #65659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d70",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 228.434,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.11746,
    "h": 268.8
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#1D2D70
secondary
#A49244
accent
#C446E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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