#1D239D#1D239D

#1D239D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.190 H 269.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1D239D
RGBrgb(29, 35, 157)
HSLhsl(237, 69%, 36%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(81.5%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.33, 41.96, -65.53)
CIE-LCHlch(23.33, 77.82, 302.63°)
OKLaboklab(35.68% -0.0007 -0.1898)
OKLCHoklch(35.68% 0.19 269.8)
XYZxyz(7.1915, 3.8968, 32.2649)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D239D #9D971D
analogous
#1D639D #1D239D #571D9D
triadic
#1D239D #9D1D23 #239D1D
tetradic
#1D239D #9D1D63 #9D971D #1D9D57
square
#1D239D #9D1D63 #9D971D #1D9D57
split-complementary
#1D239D #9D571D #639D1D
monochromatic
#0A0C36 #131769 #1D239D #272FD1 #555BE0

Accessibility & contrast

On white

11.80
#1D239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D239D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D239D#FFFFFF#000000##FFFFFF
##1D239D1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d239d;
/* rgb */ color: rgb(29, 35, 157);
/* oklch */ color: oklch(35.7% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#7260bb',
    500: '#1d239d',
    950: '#000000',
  },
}
SCSS
$custom: #1d239d;
$custom-light: #7260bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d239d",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 237.188,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.18983,
    "h": 269.8
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#1D239D
secondary
#C3BE53
accent
#E33CEC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D239D

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

Preview Lab → · Contrast checker → · Palette generator →

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