#1D1674#1D1674

#1D1674 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.151 H 274.9°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1D1674
RGBrgb(29, 22, 116)
HSLhsl(244, 68%, 27%)
HSVhsv(244, 81%, 45%)
CMYKcmyk(75%, 81%, 0%, 54.5%)
CIE-LABlab(15.98, 35.27, -51.95)
CIE-LCHlch(15.98, 62.79, 304.17°)
OKLaboklab(29.11% 0.0129 -0.1502)
OKLCHoklch(29.11% 0.151 274.9)
XYZxyz(3.9449, 2.0956, 16.7162)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1674 #6D7416
analogous
#163E74 #1D1674 #4C1674
triadic
#1D1674 #741D16 #16741D
tetradic
#1D1674 #74163E #6D7416 #16744C
square
#1D1674 #74163E #6D7416 #16744C
split-complementary
#1D1674 #744C16 #3E7416
monochromatic
#06051A #100C41 #1D1674 #2A20A7 #3A2DD7

Accessibility & contrast

On white

14.80
#1D1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1674
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1674#FFFFFF#000000##FFFFFF
##1D16741.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1674;
/* rgb */ color: rgb(29, 22, 116);
/* oklch */ color: oklch(29.1% 0.151 274.9);
Tailwind
colors: {
  custom: {
    50: '#69559d',
    500: '#1d1674',
    950: '#000000',
  },
}
SCSS
$custom: #1d1674;
$custom-light: #69559d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1674",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 244.468,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.15079,
    "h": 274.9
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#1D1674
secondary
#A2AA3C
accent
#EB3DDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1674

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

Preview Lab → · Contrast checker → · Palette generator →

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