#1D4288#1D4288

#1D4288 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.125 H 261.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1D4288
RGBrgb(29, 66, 136)
HSLhsl(219, 65%, 32%)
HSVhsv(219, 79%, 53%)
CMYKcmyk(78.7%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.25, 13.52, -42.92)
CIE-LCHlch(29.25, 45.00, 287.49°)
OKLaboklab(39.46% -0.0182 -0.1234)
OKLCHoklch(39.46% 0.125 261.6)
XYZxyz(6.8972, 5.9344, 24.0697)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4288 #88631D
analogous
#1D7888 #1D4288 #2D1D88
triadic
#1D4288 #881D42 #42881D
tetradic
#1D4288 #881D78 #88631D #1D882D
square
#1D4288 #881D78 #88631D #1D882D
split-complementary
#1D4288 #882D1D #78881D
monochromatic
#071123 #122A56 #1D4288 #285ABA #4879D8

Accessibility & contrast

On white

9.60
#1D4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1D4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4288
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4288#FFFFFF#000000##FFFFFF
##1D42881.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4288;
/* rgb */ color: rgb(29, 66, 136);
/* oklch */ color: oklch(39.5% 0.125 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75ab',
    500: '#1d4288',
    950: '#000000',
  },
}
SCSS
$custom: #1d4288;
$custom-light: #6a75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4288",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 219.252,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39459,
    "c": 0.12476,
    "h": 261.6
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#1D4288
secondary
#BA9247
accent
#AE40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4288

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

Preview Lab → · Contrast checker → · Palette generator →

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