#1D2679#1D2679

#1D2679 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.140 H 271.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1D2679
RGBrgb(29, 38, 121)
HSLhsl(234, 61%, 29%)
HSVhsv(234, 76%, 47%)
CMYKcmyk(76%, 68.6%, 0%, 52.5%)
CIE-LABlab(20.15, 27.03, -48.29)
CIE-LCHlch(20.15, 55.34, 299.24°)
OKLaboklab(32.26% 0.0028 -0.1396)
OKLCHoklch(32.26% 0.14 271.1)
XYZxyz(4.6498, 3.0274, 18.4248)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2679 #79701D
analogous
#1D5479 #1D2679 #421D79
triadic
#1D2679 #791D26 #26791D
tetradic
#1D2679 #791D54 #79701D #1D7942
square
#1D2679 #791D54 #79701D #1D7942
split-complementary
#1D2679 #79421D #54791D
monochromatic
#060819 #111648 #1D2679 #2936AA #3F4ED1

Accessibility & contrast

On white

13.08
#1D2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2679
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2679#FFFFFF#000000##FFFFFF
##1D26791.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2679;
/* rgb */ color: rgb(29, 38, 121);
/* oklch */ color: oklch(32.3% 0.140 271.1);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1d2679',
    950: '#000000',
  },
}
SCSS
$custom: #1d2679;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2679",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 234.13,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32258,
    "c": 0.13965,
    "h": 271.1
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#1D2679
secondary
#ADA345
accent
#D543E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2679

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

Preview Lab → · Contrast checker → · Palette generator →

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