#1A1D8A#1A1D8A

#1A1D8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.173 H 270.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#1A1D8A
RGBrgb(26, 29, 138)
HSLhsl(238, 68%, 32%)
HSVhsv(238, 81%, 54%)
CMYKcmyk(81.2%, 79%, 0%, 45.9%)
CIE-LABlab(19.77, 38.63, -59.67)
CIE-LCHlch(19.77, 71.08, 302.92°)
OKLaboklab(32.49% 0.0014 -0.1728)
OKLCHoklch(32.49% 0.173 270.5)
XYZxyz(5.4513, 2.9327, 24.3186)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D8A #8A871A
analogous
#1A558A #1A1D8A #4F1A8A
triadic
#1A1D8A #8A1A1D #1D8A1A
tetradic
#1A1D8A #8A1A55 #8A871A #1A8A4F
square
#1A1D8A #8A1A55 #8A871A #1A8A4F
split-complementary
#1A1D8A #8A4F1A #558A1A
monochromatic
#070723 #101257 #1A1D8A #2428BD #4347DC

Accessibility & contrast

On white

13.24
#1A1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D8A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D8A#FFFFFF#000000##FFFFFF
##1A1D8A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1d8a;
/* rgb */ color: rgb(26, 29, 138);
/* oklch */ color: oklch(32.5% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d5bad',
    500: '#1a1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d8a;
$custom-light: #6d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d8a",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 238.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32486,
    "c": 0.17281,
    "h": 270.5
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#1A1D8A
secondary
#BDB943
accent
#E63DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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