#1D2292#1D2292

#1D2292 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.177 H 270.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1D2292
RGBrgb(29, 34, 146)
HSLhsl(237, 67%, 34%)
HSVhsv(237, 80%, 57%)
CMYKcmyk(80.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(21.87, 38.74, -61.17)
CIE-LCHlch(21.87, 72.41, 302.35°)
OKLaboklab(34.28% 0.0015 -0.1772)
OKLCHoklch(34.28% 0.177 270.5)
XYZxyz(6.2653, 3.4799, 27.5300)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2292 #928D1D
analogous
#1D5D92 #1D2292 #531D92
triadic
#1D2292 #921D22 #22921D
tetradic
#1D2292 #921D5D #928D1D #1D9253
square
#1D2292 #921D5D #928D1D #1D9253
split-complementary
#1D2292 #92531D #5D921D
monochromatic
#090A2C #13165F #1D2292 #272EC5 #4E54DC

Accessibility & contrast

On white

12.38
#1D2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2292
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2292#FFFFFF#000000##FFFFFF
##1D22921.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2292;
/* rgb */ color: rgb(29, 34, 146);
/* oklch */ color: oklch(34.3% 0.177 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f5fb3',
    500: '#1d2292',
    950: '#000000',
  },
}
SCSS
$custom: #1d2292;
$custom-light: #6f5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2292",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 237.436,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.17717,
    "h": 270.5
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#1D2292
secondary
#BEB94C
accent
#E23EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2292

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

Preview Lab → · Contrast checker → · Palette generator →

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