#1D1672#1D1672

#1D1672 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.148 H 275.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1D1672
RGBrgb(29, 22, 114)
HSLhsl(245, 68%, 27%)
HSVhsv(245, 81%, 45%)
CMYKcmyk(74.6%, 80.7%, 0%, 55.3%)
CIE-LABlab(15.75, 34.58, -51.05)
CIE-LCHlch(15.75, 61.66, 304.12°)
OKLaboklab(28.88% 0.0134 -0.1476)
OKLCHoklch(28.88% 0.148 275.2)
XYZxyz(3.8299, 2.0496, 16.1101)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1672 #6B7216
analogous
#163D72 #1D1672 #4B1672
triadic
#1D1672 #721D16 #16721D
tetradic
#1D1672 #72163D #6B7216 #16724B
square
#1D1672 #72163D #6B7216 #16724B
split-complementary
#1D1672 #724B16 #3D7216
monochromatic
#07051A #100C3F #1D1672 #2A20A5 #392CD6

Accessibility & contrast

On white

14.89
#1D1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1672
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1672#FFFFFF#000000##FFFFFF
##1D16721.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1672;
/* rgb */ color: rgb(29, 22, 114);
/* oklch */ color: oklch(28.9% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#68559c',
    500: '#1d1672',
    950: '#000000',
  },
}
SCSS
$custom: #1d1672;
$custom-light: #68559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1672",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 244.565,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28875,
    "c": 0.14821,
    "h": 275.2
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#1D1672
secondary
#A0A83C
accent
#EB3DDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1672

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

Preview Lab → · Contrast checker → · Palette generator →

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