#1D2A70#1D2A70

#1D2A70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.122 H 270.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1D2A70
RGBrgb(29, 42, 112)
HSLhsl(231, 59%, 28%)
HSVhsv(231, 74%, 44%)
CMYKcmyk(74.1%, 62.5%, 0%, 56.1%)
CIE-LABlab(20.39, 20.74, -42.13)
CIE-LCHlch(20.39, 46.96, 296.21°)
OKLaboklab(32.17% 0.0001 -0.1215)
OKLCHoklch(32.17% 0.122 270.1)
XYZxyz(4.2583, 3.0866, 15.6974)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A70 #70631D
analogous
#1D5470 #1D2A70 #391D70
triadic
#1D2A70 #701D2A #2A701D
tetradic
#1D2A70 #701D54 #70631D #1D7039
square
#1D2A70 #701D54 #70631D #1D7039
split-complementary
#1D2A70 #70391D #54701D
monochromatic
#060918 #10183F #1D2A70 #2A3CA1 #3B52CC

Accessibility & contrast

On white

12.98
#1D2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A70
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A70#FFFFFF#000000##FFFFFF
##1D2A701.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2a70;
/* rgb */ color: rgb(29, 42, 112);
/* oklch */ color: oklch(32.2% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#66639a',
    500: '#1d2a70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a70;
$custom-light: #66639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a70",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 230.602,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32173,
    "c": 0.12154,
    "h": 270.1
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#1D2A70
secondary
#A49544
accent
#CA46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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