#1D2183#1D2183

#1D2183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.159 H 271.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#1D2183
RGBrgb(29, 33, 131)
HSLhsl(238, 64%, 31%)
HSVhsv(238, 78%, 51%)
CMYKcmyk(77.9%, 74.8%, 0%, 48.6%)
CIE-LABlab(19.99, 34.01, -54.90)
CIE-LCHlch(19.99, 64.58, 301.78°)
OKLaboklab(32.45% 0.0045 -0.1589)
OKLCHoklch(32.45% 0.159 271.6)
XYZxyz(5.1459, 2.9871, 21.7737)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2183 #837F1D
analogous
#1D5483 #1D2183 #4C1D83
triadic
#1D2183 #831D21 #21831D
tetradic
#1D2183 #831D54 #837F1D #1D834C
square
#1D2183 #831D54 #837F1D #1D834C
split-complementary
#1D2183 #834C1D #54831D
monochromatic
#07081F #121451 #1D2183 #282EB5 #454AD6

Accessibility & contrast

On white

13.14
#1D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2183
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2183#FFFFFF#000000##FFFFFF
##1D21831.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2183;
/* rgb */ color: rgb(29, 33, 131);
/* oklch */ color: oklch(32.5% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c5da8',
    500: '#1d2183',
    950: '#000000',
  },
}
SCSS
$custom: #1d2183;
$custom-light: #6c5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2183",
  "rgb": {
    "r": 29,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 237.647,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32454,
    "c": 0.15898,
    "h": 271.6
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#1D2183
secondary
#B6B246
accent
#E041E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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