#1D1874#1D1874

#1D1874 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.149 H 274.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1D1874
RGBrgb(29, 24, 116)
HSLhsl(243, 66%, 27%)
HSVhsv(243, 79%, 45%)
CMYKcmyk(75%, 79.3%, 0%, 54.5%)
CIE-LABlab(16.38, 34.13, -51.29)
CIE-LCHlch(16.38, 61.61, 303.64°)
OKLaboklab(29.39% 0.0119 -0.1483)
OKLCHoklch(29.39% 0.149 274.6)
XYZxyz(3.9847, 2.1750, 16.7294)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1874 #6F7418
analogous
#184174 #1D1874 #4B1874
triadic
#1D1874 #741D18 #18741D
tetradic
#1D1874 #741841 #6F7418 #18744B
square
#1D1874 #741841 #6F7418 #18744B
split-complementary
#1D1874 #744B18 #417418
monochromatic
#060519 #100E41 #1D1874 #2A22A7 #3B32D5

Accessibility & contrast

On white

14.63
#1D1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1874
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1874#FFFFFF#000000##FFFFFF
##1D18741.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1874;
/* rgb */ color: rgb(29, 24, 116);
/* oklch */ color: oklch(29.4% 0.149 274.6);
Tailwind
colors: {
  custom: {
    50: '#68579d',
    500: '#1d1874',
    950: '#000000',
  },
}
SCSS
$custom: #1d1874;
$custom-light: #68579d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1874",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 243.261,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29391,
    "c": 0.14882,
    "h": 274.6
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#1D1874
secondary
#A3A93F
accent
#E93FDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1874

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

Preview Lab → · Contrast checker → · Palette generator →

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