#1A1D71#1A1D71

#1A1D71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.140 H 272.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1A1D71
RGBrgb(26, 29, 113)
HSLhsl(238, 63%, 27%)
HSVhsv(238, 77%, 44%)
CMYKcmyk(77%, 74.3%, 0%, 55.7%)
CIE-LABlab(16.94, 29.65, -48.43)
CIE-LCHlch(16.94, 56.79, 301.48°)
OKLaboklab(29.64% 0.0058 -0.1401)
OKLCHoklch(29.64% 0.14 272.4)
XYZxyz(3.8450, 2.2902, 15.8590)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D71 #716E1A
analogous
#1A4971 #1A1D71 #431A71
triadic
#1A1D71 #711A1D #1D711A
tetradic
#1A1D71 #711A49 #716E1A #1A7143
square
#1A1D71 #711A49 #716E1A #1A7143
split-complementary
#1A1D71 #71431A #49711A
monochromatic
#060619 #0F103F #1A1D71 #252AA3 #353AD0

Accessibility & contrast

On white

14.40
#1A1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D71
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D71#FFFFFF#000000##FFFFFF
##1A1D711.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a1d71;
/* rgb */ color: rgb(26, 29, 113);
/* oklch */ color: oklch(29.6% 0.140 272.4);
Tailwind
colors: {
  custom: {
    50: '#66599b',
    500: '#1a1d71',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d71;
$custom-light: #66599b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d71",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 237.931,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.14025,
    "h": 272.4
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#1A1D71
secondary
#A6A241
accent
#E042E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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