#1D3078#1D3078

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

Color values

HEX#1D3078
RGBrgb(29, 48, 120)
HSLhsl(227, 61%, 29%)
HSVhsv(227, 76%, 47%)
CMYKcmyk(75.8%, 60%, 0%, 52.9%)
CIE-LABlab(22.76, 19.68, -43.39)
CIE-LCHlch(22.76, 47.65, 294.40°)
OKLaboklab(34.16% -0.0047 -0.1251)
OKLCHoklch(34.16% 0.125 267.9)
XYZxyz(4.9526, 3.7307, 18.2247)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3078 #78651D
analogous
#1D5E78 #1D3078 #381D78
triadic
#1D3078 #781D30 #30781D
tetradic
#1D3078 #781D5E #78651D #1D7838
square
#1D3078 #781D5E #78651D #1D7838
split-complementary
#1D3078 #78381D #5E781D
monochromatic
#060A19 #111C47 #1D3078 #2944A9 #3F5DD1

Accessibility & contrast

On white

12.03
#1D3078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3078
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3078#FFFFFF#000000##FFFFFF
##1D30781.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d3078;
/* rgb */ color: rgb(29, 48, 120);
/* oklch */ color: oklch(34.2% 0.125 267.9);
Tailwind
colors: {
  custom: {
    50: '#6768a0',
    500: '#1d3078',
    950: '#000000',
  },
}
SCSS
$custom: #1d3078;
$custom-light: #6768a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3078",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 227.473,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34157,
    "c": 0.12524,
    "h": 267.9
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#1D3078
secondary
#AC9645
accent
#C344E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1D3078

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

Preview Lab → · Contrast checker → · Palette generator →

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