#1D2392#1D2392

#1D2392 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.176 H 270.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1D2392
RGBrgb(29, 35, 146)
HSLhsl(237, 67%, 34%)
HSVhsv(237, 80%, 57%)
CMYKcmyk(80.1%, 76%, 0%, 42.7%)
CIE-LABlab(22.08, 38.15, -60.83)
CIE-LCHlch(22.08, 71.80, 302.09°)
OKLaboklab(34.43% 0.0011 -0.1762)
OKLCHoklch(34.43% 0.176 270.4)
XYZxyz(6.2943, 3.5379, 27.5397)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2392 #928C1D
analogous
#1D5E92 #1D2392 #521D92
triadic
#1D2392 #921D23 #23921D
tetradic
#1D2392 #921D5E #928C1D #1D9252
square
#1D2392 #921D5E #928C1D #1D9252
split-complementary
#1D2392 #92521D #5E921D
monochromatic
#090B2C #13175F #1D2392 #272FC5 #4E55DC

Accessibility & contrast

On white

12.30
#1D2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2392
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2392#FFFFFF#000000##FFFFFF
##1D23921.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2392;
/* rgb */ color: rgb(29, 35, 146);
/* oklch */ color: oklch(34.4% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f5fb3',
    500: '#1d2392',
    950: '#000000',
  },
}
SCSS
$custom: #1d2392;
$custom-light: #6f5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2392",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 236.923,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34433,
    "c": 0.17616,
    "h": 270.4
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#1D2392
secondary
#BEB84C
accent
#E13EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2392

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

Preview Lab → · Contrast checker → · Palette generator →

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