#1D2296#1D2296

#1D2296 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.182 H 270.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1D2296
RGBrgb(29, 34, 150)
HSLhsl(238, 68%, 35%)
HSVhsv(238, 81%, 59%)
CMYKcmyk(80.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.33, 40.13, -62.89)
CIE-LCHlch(22.33, 74.60, 302.54°)
OKLaboklab(34.74% 0.0008 -0.1822)
OKLCHoklch(34.74% 0.182 270.3)
XYZxyz(6.5819, 3.6065, 29.1975)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2296 #96911D
analogous
#1D5E96 #1D2296 #551D96
triadic
#1D2296 #961D22 #22961D
tetradic
#1D2296 #961D5E #96911D #1D9655
square
#1D2296 #961D5E #96911D #1D9655
split-complementary
#1D2296 #96551D #5E961D
monochromatic
#090B2F #131663 #1D2296 #272EC9 #5056DD

Accessibility & contrast

On white

12.20
#1D2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2296
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2296#FFFFFF#000000##FFFFFF
##1D22961.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2296;
/* rgb */ color: rgb(29, 34, 150);
/* oklch */ color: oklch(34.7% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#715fb6',
    500: '#1d2296',
    950: '#000000',
  },
}
SCSS
$custom: #1d2296;
$custom-light: #715fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2296",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 237.521,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3474,
    "c": 0.18216,
    "h": 270.3
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#1D2296
secondary
#C0BB4F
accent
#E33DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2296

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

Preview Lab → · Contrast checker → · Palette generator →

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