#1D2A8E#1D2A8E

#1D2A8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.163 H 269.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2A8E
RGBrgb(29, 42, 142)
HSLhsl(233, 66%, 34%)
HSVhsv(233, 80%, 56%)
CMYKcmyk(79.6%, 70.4%, 0%, 44.3%)
CIE-LABlab(23.23, 32.33, -56.44)
CIE-LCHlch(23.23, 65.04, 299.80°)
OKLaboklab(35.14% -0.0015 -0.1634)
OKLCHoklch(35.14% 0.163 269.5)
XYZxyz(6.2155, 3.8694, 26.0052)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A8E #8E811D
analogous
#1D628E #1D2A8E #481D8E
triadic
#1D2A8E #8E1D2A #2A8E1D
tetradic
#1D2A8E #8E1D62 #8E811D #1D8E48
square
#1D2A8E #8E1D62 #8E811D #1D8E48
split-complementary
#1D2A8E #8E481D #628E1D
monochromatic
#080C28 #131B5B #1D2A8E #2739C1 #4B5CDA

Accessibility & contrast

On white

11.84
#1D2A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A8E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A8E#FFFFFF#000000##FFFFFF
##1D2A8E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2a8e;
/* rgb */ color: rgb(29, 42, 142);
/* oklch */ color: oklch(35.1% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e64b0',
    500: '#1d2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a8e;
$custom-light: #6e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a8e",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 233.097,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.16343,
    "h": 269.5
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#1D2A8E
secondary
#BDAF4A
accent
#D53FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1D2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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