#1D288A#1D288A

#1D288A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.160 H 270.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1D288A
RGBrgb(29, 40, 138)
HSLhsl(234, 65%, 33%)
HSVhsv(234, 79%, 54%)
CMYKcmyk(79%, 71%, 0%, 45.9%)
CIE-LABlab(22.35, 32.13, -55.41)
CIE-LCHlch(22.35, 64.05, 300.11°)
OKLaboklab(34.37% -0.0001 -0.1604)
OKLCHoklch(34.37% 0.16 270)
XYZxyz(5.8514, 3.6131, 24.4288)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D288A #8A7F1D
analogous
#1D5E8A #1D288A #481D8A
triadic
#1D288A #8A1D28 #288A1D
tetradic
#1D288A #8A1D5E #8A7F1D #1D8A48
square
#1D288A #8A1D5E #8A7F1D #1D8A48
split-complementary
#1D288A #8A481D #5E8A1D
monochromatic
#080B25 #121957 #1D288A #2837BD #4957D9

Accessibility & contrast

On white

12.19
#1D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D288A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D288A#FFFFFF#000000##FFFFFF
##1D288A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d288a;
/* rgb */ color: rgb(29, 40, 138);
/* oklch */ color: oklch(34.4% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d62ad',
    500: '#1d288a',
    950: '#000000',
  },
}
SCSS
$custom: #1d288a;
$custom-light: #6d62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d288a",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 233.945,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3437,
    "c": 0.16042,
    "h": 270
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#1D288A
secondary
#BBAF48
accent
#D740E8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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