#1D288F#1D288F

#1D288F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.167 H 269.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1D288F
RGBrgb(29, 40, 143)
HSLhsl(234, 66%, 34%)
HSVhsv(234, 80%, 56%)
CMYKcmyk(79.7%, 72%, 0%, 43.9%)
CIE-LABlab(22.87, 33.98, -57.67)
CIE-LCHlch(22.87, 66.94, 300.51°)
OKLaboklab(34.9% -0.0006 -0.167)
OKLCHoklch(34.9% 0.167 269.8)
XYZxyz(6.2217, 3.7613, 26.3794)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D288F #8F841D
analogous
#1D618F #1D288F #4B1D8F
triadic
#1D288F #8F1D28 #288F1D
tetradic
#1D288F #8F1D61 #8F841D #1D8F4B
square
#1D288F #8F1D61 #8F841D #1D8F4B
split-complementary
#1D288F #8F4B1D #618F1D
monochromatic
#080C29 #131A5C #1D288F #2736C2 #4C5ADB

Accessibility & contrast

On white

11.98
#1D288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D288F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D288F#FFFFFF#000000##FFFFFF
##1D288F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d288f;
/* rgb */ color: rgb(29, 40, 143);
/* oklch */ color: oklch(34.9% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e62b1',
    500: '#1d288f',
    950: '#000000',
  },
}
SCSS
$custom: #1d288f;
$custom-light: #6e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d288f",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 234.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34899,
    "c": 0.16701,
    "h": 269.8
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#1D288F
secondary
#BDB24B
accent
#D93FE9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1D288F

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

Preview Lab → · Contrast checker → · Palette generator →

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