#1D1A71#1D1A71

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

Color values

HEX#1D1A71
RGBrgb(29, 26, 113)
HSLhsl(242, 63%, 27%)
HSVhsv(242, 77%, 44%)
CMYKcmyk(74.3%, 77%, 0%, 55.7%)
CIE-LABlab(16.46, 31.87, -49.21)
CIE-LCHlch(16.46, 58.63, 302.93°)
OKLaboklab(29.35% 0.0115 -0.1423)
OKLCHoklch(29.35% 0.143 274.6)
XYZxyz(3.8557, 2.1919, 15.8395)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A71 #6E711A
analogous
#1A4371 #1D1A71 #491A71
triadic
#1D1A71 #711D1A #1A711D
tetradic
#1D1A71 #711A43 #6E711A #1A7149
square
#1D1A71 #711A43 #6E711A #1A7149
split-complementary
#1D1A71 #71491A #43711A
monochromatic
#060619 #100F3F #1D1A71 #2A25A3 #3A35D0

Accessibility & contrast

On white

14.60
#1D1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1A71
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A71#FFFFFF#000000##FFFFFF
##1D1A711.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1a71;
/* rgb */ color: rgb(29, 26, 113);
/* oklch */ color: oklch(29.3% 0.143 274.6);
Tailwind
colors: {
  custom: {
    50: '#67589b',
    500: '#1d1a71',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a71;
$custom-light: #67589b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a71",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 242.069,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.14277,
    "h": 274.6
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#1D1A71
secondary
#A2A641
accent
#E642E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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