#1D2479#1D2479

#1D2479 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.142 H 271.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1D2479
RGBrgb(29, 36, 121)
HSLhsl(235, 61%, 29%)
HSVhsv(235, 76%, 47%)
CMYKcmyk(76%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.65, 28.38, -49.11)
CIE-LCHlch(19.65, 56.72, 300.02°)
OKLaboklab(31.89% 0.0041 -0.142)
OKLCHoklch(31.89% 0.142 271.7)
XYZxyz(4.5876, 2.9030, 18.4040)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2479 #79721D
analogous
#1D5279 #1D2479 #441D79
triadic
#1D2479 #791D24 #24791D
tetradic
#1D2479 #791D52 #79721D #1D7944
square
#1D2479 #791D52 #79721D #1D7944
split-complementary
#1D2479 #79441D #52791D
monochromatic
#060719 #111548 #1D2479 #2933AA #3F4AD1

Accessibility & contrast

On white

13.29
#1D2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2479
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2479#FFFFFF#000000##FFFFFF
##1D24791.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2479;
/* rgb */ color: rgb(29, 36, 121);
/* oklch */ color: oklch(31.9% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#695fa1',
    500: '#1d2479',
    950: '#000000',
  },
}
SCSS
$custom: #1d2479;
$custom-light: #695fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2479",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 235.435,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.1421,
    "h": 271.7
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#1D2479
secondary
#ADA545
accent
#D843E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D2479

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

Preview Lab → · Contrast checker → · Palette generator →

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