#1D2288#1D2288

#1D2288 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.164 H 271.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1D2288
RGBrgb(29, 34, 136)
HSLhsl(237, 65%, 32%)
HSVhsv(237, 79%, 53%)
CMYKcmyk(78.7%, 75%, 0%, 46.7%)
CIE-LABlab(20.76, 35.20, -56.78)
CIE-LCHlch(20.76, 66.80, 301.79°)
OKLaboklab(33.16% 0.0032 -0.1644)
OKLCHoklch(33.16% 0.164 271.1)
XYZxyz(5.5211, 3.1822, 23.6110)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2288 #88831D
analogous
#1D5888 #1D2288 #4D1D88
triadic
#1D2288 #881D22 #22881D
tetradic
#1D2288 #881D58 #88831D #1D884D
square
#1D2288 #881D58 #88831D #1D884D
split-complementary
#1D2288 #884D1D #58881D
monochromatic
#070923 #121556 #1D2288 #282FBA #484ED8

Accessibility & contrast

On white

12.83
#1D2288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2288
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2288#FFFFFF#000000##FFFFFF
##1D22881.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2288;
/* rgb */ color: rgb(29, 34, 136);
/* oklch */ color: oklch(33.2% 0.164 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d5eac',
    500: '#1d2288',
    950: '#000000',
  },
}
SCSS
$custom: #1d2288;
$custom-light: #6d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2288",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 237.196,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.16442,
    "h": 271.1
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#1D2288
secondary
#BAB447
accent
#E040E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2288

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

Preview Lab → · Contrast checker → · Palette generator →

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