#1D2283#1D2283

#1D2283 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.158 H 271.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1D2283
RGBrgb(29, 34, 131)
HSLhsl(237, 64%, 31%)
HSVhsv(237, 78%, 51%)
CMYKcmyk(77.9%, 74%, 0%, 48.6%)
CIE-LABlab(20.22, 33.39, -54.53)
CIE-LCHlch(20.22, 63.94, 301.48°)
OKLaboklab(32.61% 0.004 -0.1578)
OKLCHoklch(32.61% 0.158 271.4)
XYZxyz(5.1741, 3.0434, 21.7831)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2283 #837E1D
analogous
#1D5583 #1D2283 #4B1D83
triadic
#1D2283 #831D22 #22831D
tetradic
#1D2283 #831D55 #837E1D #1D834B
square
#1D2283 #831D55 #837E1D #1D834B
split-complementary
#1D2283 #834B1D #55831D
monochromatic
#07081F #121551 #1D2283 #282FB5 #454CD6

Accessibility & contrast

On white

13.05
#1D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2283
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2283#FFFFFF#000000##FFFFFF
##1D22831.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2283;
/* rgb */ color: rgb(29, 34, 131);
/* oklch */ color: oklch(32.6% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ea8',
    500: '#1d2283',
    950: '#000000',
  },
}
SCSS
$custom: #1d2283;
$custom-light: #6b5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2283",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 237.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.15789,
    "h": 271.4
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#1D2283
secondary
#B6B146
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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