#1A1982#1A1982

#1A1982 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.167 H 271.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1A1982
RGBrgb(26, 25, 130)
HSLhsl(241, 68%, 30%)
HSVhsv(241, 81%, 51%)
CMYKcmyk(80%, 80.8%, 0%, 49%)
CIE-LABlab(18.04, 38.13, -57.51)
CIE-LCHlch(18.04, 69.00, 303.54°)
OKLaboklab(30.99% 0.0044 -0.1665)
OKLCHoklch(30.99% 0.167 271.5)
XYZxyz(4.8015, 2.5261, 21.3493)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1982 #818219
analogous
#194D82 #1A1982 #4E1982
triadic
#1A1982 #821A19 #19821A
tetradic
#1A1982 #82194D #818219 #19824E
square
#1A1982 #82194D #818219 #19824E
split-complementary
#1A1982 #824E19 #4D8219
monochromatic
#05051B #100F4F #1A1982 #2423B5 #3D3CD9

Accessibility & contrast

On white

13.95
#1A1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1982
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1982#FFFFFF#000000##FFFFFF
##1A19821.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1982;
/* rgb */ color: rgb(26, 25, 130);
/* oklch */ color: oklch(31.0% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b58a8',
    500: '#1a1982',
    950: '#000000',
  },
}
SCSS
$custom: #1a1982;
$custom-light: #6b58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1982",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 240.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.16654,
    "h": 271.5
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#1A1982
secondary
#B5B641
accent
#EB3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1982

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

Preview Lab → · Contrast checker → · Palette generator →

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