#1D2279#1D2279

#1D2279 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.144 H 272.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1D2279
RGBrgb(29, 34, 121)
HSLhsl(237, 61%, 29%)
HSVhsv(237, 76%, 47%)
CMYKcmyk(76%, 71.9%, 0%, 52.5%)
CIE-LABlab(19.16, 29.70, -49.92)
CIE-LCHlch(19.16, 58.09, 300.75°)
OKLaboklab(31.54% 0.0054 -0.1444)
OKLCHoklch(31.54% 0.144 272.1)
XYZxyz(4.5287, 2.7853, 18.3844)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2279 #79741D
analogous
#1D5079 #1D2279 #461D79
triadic
#1D2279 #791D22 #22791D
tetradic
#1D2279 #791D50 #79741D #1D7946
square
#1D2279 #791D50 #79741D #1D7946
split-complementary
#1D2279 #79461D #50791D
monochromatic
#060719 #111448 #1D2279 #2930AA #3F47D1

Accessibility & contrast

On white

13.49
#1D2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2279
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2279#FFFFFF#000000##FFFFFF
##1D22791.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2279;
/* rgb */ color: rgb(29, 34, 121);
/* oklch */ color: oklch(31.5% 0.144 272.1);
Tailwind
colors: {
  custom: {
    50: '#695da1',
    500: '#1d2279',
    950: '#000000',
  },
}
SCSS
$custom: #1d2279;
$custom-light: #695da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2279",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 236.739,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31539,
    "c": 0.14449,
    "h": 272.1
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#1D2279
secondary
#ADA745
accent
#DC43E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D2279

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

Preview Lab → · Contrast checker → · Palette generator →

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