#1D2970#1D2970

#1D2970 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.123 H 270.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1D2970
RGBrgb(29, 41, 112)
HSLhsl(231, 59%, 28%)
HSVhsv(231, 74%, 44%)
CMYKcmyk(74.1%, 63.4%, 0%, 56.1%)
CIE-LABlab(20.11, 21.45, -42.59)
CIE-LCHlch(20.11, 47.68, 296.73°)
OKLaboklab(31.97% 0.001 -0.1229)
OKLCHoklch(31.97% 0.123 270.5)
XYZxyz(4.2233, 3.0165, 15.6858)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2970 #70641D
analogous
#1D5370 #1D2970 #3A1D70
triadic
#1D2970 #701D29 #29701D
tetradic
#1D2970 #701D53 #70641D #1D703A
square
#1D2970 #701D53 #70641D #1D703A
split-complementary
#1D2970 #703A1D #53701D
monochromatic
#060918 #10173F #1D2970 #2A3BA1 #3B50CC

Accessibility & contrast

On white

13.10
#1D2970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2970
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2970#FFFFFF#000000##FFFFFF
##1D29701.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2970;
/* rgb */ color: rgb(29, 41, 112);
/* oklch */ color: oklch(32.0% 0.123 270.5);
Tailwind
colors: {
  custom: {
    50: '#66629a',
    500: '#1d2970',
    950: '#000000',
  },
}
SCSS
$custom: #1d2970;
$custom-light: #66629a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2970",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 231.325,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.12288,
    "h": 270.5
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#1D2970
secondary
#A49644
accent
#CB46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2970

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

Preview Lab → · Contrast checker → · Palette generator →

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