#1D1079#1D1079

#1D1079 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.0% C 0.162 H 274.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#1D1079
RGBrgb(29, 16, 121)
HSLhsl(247, 77%, 27%)
HSVhsv(247, 87%, 47%)
CMYKcmyk(76%, 86.8%, 0%, 52.5%)
CIE-LABlab(15.55, 39.96, -55.89)
CIE-LCHlch(15.55, 68.70, 305.57°)
OKLaboklab(28.99% 0.0138 -0.1616)
OKLCHoklch(28.99% 0.162 274.9)
XYZxyz(4.1420, 2.0119, 18.2555)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1079 #6C7910
analogous
#103779 #1D1079 #521079
triadic
#1D1079 #791D10 #10791D
tetradic
#1D1079 #791037 #6C7910 #107952
square
#1D1079 #791037 #6C7910 #107952
split-complementary
#1D1079 #795210 #377910
monochromatic
#06041B #100943 #1D1079 #2A17AF #3922E2

Accessibility & contrast

On white

14.97
#1D1079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D1079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1079
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1079#FFFFFF#000000##FFFFFF
##1D10791.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1079;
/* rgb */ color: rgb(29, 16, 121);
/* oklch */ color: oklch(29.0% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b53a1',
    500: '#1d1079',
    950: '#000000',
  },
}
SCSS
$custom: #1d1079;
$custom-light: #6b53a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1079",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 121
  },
  "hsl": {
    "h": 247.429,
    "s": 76.642,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.16215,
    "h": 274.9
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#1D1079
secondary
#A1B035
accent
#F335DC
background
#F6F4FA
surface
#ECE7F3
border
#C7C3CD
text
#08020F
muted
#7A787F

Preview Lab

Preview with #1D1079

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

Preview Lab → · Contrast checker → · Palette generator →

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