#1A1D82#1A1D82

#1A1D82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.163 H 271.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1A1D82
RGBrgb(26, 29, 130)
HSLhsl(238, 67%, 31%)
HSVhsv(238, 80%, 51%)
CMYKcmyk(80%, 77.7%, 0%, 49%)
CIE-LABlab(18.84, 35.83, -56.18)
CIE-LCHlch(18.84, 66.63, 302.53°)
OKLaboklab(31.56% 0.0029 -0.1627)
OKLCHoklch(31.56% 0.163 271)
XYZxyz(4.8933, 2.7095, 21.3799)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D82 #827F1A
analogous
#1A5182 #1A1D82 #4B1A82
triadic
#1A1D82 #821A1D #1D821A
tetradic
#1A1D82 #821A51 #827F1A #1A824B
square
#1A1D82 #821A51 #827F1A #1A824B
split-complementary
#1A1D82 #824B1A #51821A
monochromatic
#06061C #10124F #1A1D82 #2428B5 #3E42D8

Accessibility & contrast

On white

13.62
#1A1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D82
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D82#FFFFFF#000000##FFFFFF
##1A1D821.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1d82;
/* rgb */ color: rgb(26, 29, 130);
/* oklch */ color: oklch(31.6% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b5aa7',
    500: '#1a1d82',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d82;
$custom-light: #6b5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d82",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 238.269,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31555,
    "c": 0.16269,
    "h": 271
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#1A1D82
secondary
#B6B242
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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