#1A1480#1A1480

#1A1480 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.168 H 272.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1A1480
RGBrgb(26, 20, 128)
HSLhsl(243, 73%, 29%)
HSVhsv(243, 84%, 50%)
CMYKcmyk(79.7%, 84.4%, 0%, 49.8%)
CIE-LABlab(16.88, 40.09, -58.15)
CIE-LCHlch(16.88, 70.63, 304.58°)
OKLaboklab(30.11% 0.0065 -0.1683)
OKLCHoklch(30.11% 0.168 272.2)
XYZxyz(4.5711, 2.2779, 20.6167)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1480 #7A8014
analogous
#144480 #1A1480 #501480
triadic
#1A1480 #801A14 #14801A
tetradic
#1A1480 #801444 #7A8014 #148050
square
#1A1480 #801444 #7A8014 #148050
split-complementary
#1A1480 #805014 #448014
monochromatic
#05041A #0F0C4B #1A1480 #251CB5 #3930DF

Accessibility & contrast

On white

14.43
#1A1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1480
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1480#FFFFFF#000000##FFFFFF
##1A14801.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a1480;
/* rgb */ color: rgb(26, 20, 128);
/* oklch */ color: oklch(30.1% 0.168 272.2);
Tailwind
colors: {
  custom: {
    50: '#6b55a6',
    500: '#1a1480',
    950: '#000000',
  },
}
SCSS
$custom: #1a1480;
$custom-light: #6b55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1480",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 243.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.16838,
    "h": 272.2
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#1A1480
secondary
#AEB53B
accent
#F038E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1480

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

Preview Lab → · Contrast checker → · Palette generator →

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