#1D3079#1D3079

#1D3079 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.127 H 267.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3079
RGBrgb(29, 48, 121)
HSLhsl(228, 61%, 29%)
HSVhsv(228, 76%, 47%)
CMYKcmyk(76%, 60.3%, 0%, 52.5%)
CIE-LABlab(22.84, 20.08, -43.89)
CIE-LCHlch(22.84, 48.27, 294.59°)
OKLaboklab(34.25% -0.0046 -0.1266)
OKLCHoklch(34.25% 0.127 267.9)
XYZxyz(5.0136, 3.7551, 18.5460)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3079 #79661D
analogous
#1D5E79 #1D3079 #381D79
triadic
#1D3079 #791D30 #30791D
tetradic
#1D3079 #791D5E #79661D #1D7938
square
#1D3079 #791D5E #79661D #1D7938
split-complementary
#1D3079 #79381D #5E791D
monochromatic
#060A19 #111C48 #1D3079 #2944AA #3F5DD1

Accessibility & contrast

On white

11.99
#1D3079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3079
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3079#FFFFFF#000000##FFFFFF
##1D30791.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3079;
/* rgb */ color: rgb(29, 48, 121);
/* oklch */ color: oklch(34.2% 0.127 267.9);
Tailwind
colors: {
  custom: {
    50: '#6768a0',
    500: '#1d3079',
    950: '#000000',
  },
}
SCSS
$custom: #1d3079;
$custom-light: #6768a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3079",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 227.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34246,
    "c": 0.1267,
    "h": 267.9
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#1D3079
secondary
#AD9745
accent
#C343E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1D3079

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

Preview Lab → · Contrast checker → · Palette generator →

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