#1D2A8C#1D2A8C

#1D2A8C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.161 H 269.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1D2A8C
RGBrgb(29, 42, 140)
HSLhsl(233, 66%, 33%)
HSVhsv(233, 79%, 55%)
CMYKcmyk(79.3%, 70%, 0%, 45.1%)
CIE-LABlab(23.03, 31.58, -55.53)
CIE-LCHlch(23.03, 63.88, 299.62°)
OKLaboklab(34.93% -0.0013 -0.1608)
OKLCHoklch(34.93% 0.161 269.5)
XYZxyz(6.0667, 3.8099, 25.2215)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A8C #8C7F1D
analogous
#1D618C #1D2A8C #471D8C
triadic
#1D2A8C #8C1D2A #2A8C1D
tetradic
#1D2A8C #8C1D61 #8C7F1D #1D8C47
square
#1D2A8C #8C1D61 #8C7F1D #1D8C47
split-complementary
#1D2A8C #8C471D #618C1D
monochromatic
#080C27 #121B59 #1D2A8C #2839BF #4A5BD9

Accessibility & contrast

On white

11.92
#1D2A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A8C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A8C#FFFFFF#000000##FFFFFF
##1D2A8C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2a8c;
/* rgb */ color: rgb(29, 42, 140);
/* oklch */ color: oklch(34.9% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1d2a8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a8c;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a8c",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 232.973,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.16078,
    "h": 269.5
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#1D2A8C
secondary
#BCAE49
accent
#D53FE9
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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