#1D239A#1D239A

#1D239A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.186 H 269.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1D239A
RGBrgb(29, 35, 154)
HSLhsl(237, 68%, 36%)
HSVhsv(237, 81%, 60%)
CMYKcmyk(81.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(22.98, 40.93, -64.26)
CIE-LCHlch(22.98, 76.19, 302.50°)
OKLaboklab(35.34% -0.0002 -0.1861)
OKLCHoklch(35.34% 0.186 269.9)
XYZxyz(6.9385, 3.7956, 30.9325)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D239A #9A941D
analogous
#1D619A #1D239A #551D9A
triadic
#1D239A #9A1D23 #239A1D
tetradic
#1D239A #9A1D61 #9A941D #1D9A55
square
#1D239A #9A1D61 #9A941D #1D9A55
split-complementary
#1D239A #9A551D #619A1D
monochromatic
#0A0C33 #131766 #1D239A #272FCE #535ADF

Accessibility & contrast

On white

11.94
#1D239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D239A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D239A#FFFFFF#000000##FFFFFF
##1D239A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d239a;
/* rgb */ color: rgb(29, 35, 154);
/* oklch */ color: oklch(35.3% 0.186 269.9);
Tailwind
colors: {
  custom: {
    50: '#7160b9',
    500: '#1d239a',
    950: '#000000',
  },
}
SCSS
$custom: #1d239a;
$custom-light: #7160b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d239a",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 237.12,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.18615,
    "h": 269.9
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#1D239A
secondary
#C2BC51
accent
#E33DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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