#1D2E70#1D2E70

#1D2E70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.116 H 268.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1D2E70
RGBrgb(29, 46, 112)
HSLhsl(228, 59%, 28%)
HSVhsv(228, 74%, 44%)
CMYKcmyk(74.1%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.52, 17.90, -40.29)
CIE-LCHlch(21.52, 44.08, 293.95°)
OKLaboklab(33.02% -0.0033 -0.116)
OKLCHoklch(33.02% 0.116 268.4)
XYZxyz(4.4073, 3.3846, 15.7471)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E70 #705F1D
analogous
#1D5770 #1D2E70 #361D70
triadic
#1D2E70 #701D2E #2E701D
tetradic
#1D2E70 #701D57 #705F1D #1D7036
square
#1D2E70 #701D57 #705F1D #1D7036
split-complementary
#1D2E70 #70361D #57701D
monochromatic
#060A18 #101A3F #1D2E70 #2A42A1 #3B59CC

Accessibility & contrast

On white

12.52
#1D2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E70
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E70#FFFFFF#000000##FFFFFF
##1D2E701.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2e70;
/* rgb */ color: rgb(29, 46, 112);
/* oklch */ color: oklch(33.0% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#65669a',
    500: '#1d2e70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e70;
$custom-light: #65669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e70",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 227.711,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33021,
    "c": 0.1161,
    "h": 268.4
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#1D2E70
secondary
#A49144
accent
#C246E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1D2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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