#1D2A74#1D2A74

#1D2A74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.127 H 270.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2A74
RGBrgb(29, 42, 116)
HSLhsl(231, 60%, 28%)
HSVhsv(231, 75%, 45%)
CMYKcmyk(75%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.74, 22.33, -44.13)
CIE-LCHlch(20.74, 49.45, 296.84°)
OKLaboklab(32.55% 0.0001 -0.1274)
OKLCHoklch(32.55% 0.127 270)
XYZxyz(4.4860, 3.1776, 16.8965)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A74 #74671D
analogous
#1D5574 #1D2A74 #3B1D74
triadic
#1D2A74 #741D2A #2A741D
tetradic
#1D2A74 #741D55 #74671D #1D743B
square
#1D2A74 #741D55 #74671D #1D743B
split-complementary
#1D2A74 #743B1D #55741D
monochromatic
#060918 #111843 #1D2A74 #293CA5 #3D53CE

Accessibility & contrast

On white

12.84
#1D2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A74
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A74#FFFFFF#000000##FFFFFF
##1D2A741.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2a74;
/* rgb */ color: rgb(29, 42, 116);
/* oklch */ color: oklch(32.5% 0.127 270.0);
Tailwind
colors: {
  custom: {
    50: '#67639d',
    500: '#1d2a74',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a74;
$custom-light: #67639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a74",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 231.034,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.12739,
    "h": 270
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#1D2A74
secondary
#A89945
accent
#CB45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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