#1D3978#1D3978

#1D3978 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.113 H 263.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#1D3978
RGBrgb(29, 57, 120)
HSLhsl(222, 61%, 29%)
HSVhsv(222, 76%, 47%)
CMYKcmyk(75.8%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.39, 13.32, -39.13)
CIE-LCHlch(25.39, 41.33, 288.79°)
OKLaboklab(36.14% -0.0124 -0.1125)
OKLCHoklch(36.14% 0.113 263.7)
XYZxyz(5.3588, 4.5430, 18.3601)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3978 #785C1D
analogous
#1D6778 #1D3978 #2E1D78
triadic
#1D3978 #781D39 #39781D
tetradic
#1D3978 #781D67 #785C1D #1D782E
square
#1D3978 #781D67 #785C1D #1D782E
split-complementary
#1D3978 #782E1D #67781D
monochromatic
#060C19 #112247 #1D3978 #2950A9 #3F6CD1

Accessibility & contrast

On white

11.00
#1D3978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D3978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3978
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3978#FFFFFF#000000##FFFFFF
##1D39781.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3978;
/* rgb */ color: rgb(29, 57, 120);
/* oklch */ color: oklch(36.1% 0.113 263.7);
Tailwind
colors: {
  custom: {
    50: '#676e9f',
    500: '#1d3978',
    950: '#000000',
  },
}
SCSS
$custom: #1d3978;
$custom-light: #676e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3978",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 221.538,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.11315,
    "h": 263.7
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#1D3978
secondary
#AC8C45
accent
#B344E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1D3978

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

Preview Lab → · Contrast checker → · Palette generator →

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