#1D239E#1D239E

#1D239E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.191 H 269.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#1D239E
RGBrgb(29, 35, 158)
HSLhsl(237, 69%, 37%)
HSVhsv(237, 82%, 62%)
CMYKcmyk(81.6%, 77.8%, 0%, 38%)
CIE-LABlab(23.44, 42.30, -65.95)
CIE-LCHlch(23.44, 78.35, 302.68°)
OKLaboklab(35.8% -0.0009 -0.191)
OKLCHoklch(35.8% 0.191 269.7)
XYZxyz(7.2772, 3.9311, 32.7164)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D239E #9E981D
analogous
#1D649E #1D239E #581D9E
triadic
#1D239E #9E1D23 #239E1D
tetradic
#1D239E #9E1D64 #9E981D #1D9E58
square
#1D239E #9E1D64 #9E981D #1D9E58
split-complementary
#1D239E #9E581D #649E1D
monochromatic
#0A0C37 #14186A #1D239E #262ED2 #565CE0

Accessibility & contrast

On white

11.76
#1D239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D239E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D239E#FFFFFF#000000##FFFFFF
##1D239E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d239e;
/* rgb */ color: rgb(29, 35, 158);
/* oklch */ color: oklch(35.8% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#7360bc',
    500: '#1d239e',
    950: '#000000',
  },
}
SCSS
$custom: #1d239e;
$custom-light: #7360bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d239e",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 237.209,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.19105,
    "h": 269.7
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#1D239E
secondary
#C3BE54
accent
#E43CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1D239E

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

Preview Lab → · Contrast checker → · Palette generator →

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