#1A1280#1A1280

#1A1280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 272.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#1A1280
RGBrgb(26, 18, 128)
HSLhsl(244, 75%, 29%)
HSVhsv(244, 86%, 50%)
CMYKcmyk(79.7%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.55, 41.06, -58.70)
CIE-LCHlch(16.55, 71.63, 304.97°)
OKLaboklab(29.89% 0.007 -0.1698)
OKLCHoklch(29.89% 0.17 272.4)
XYZxyz(4.5373, 2.2102, 20.6054)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1280 #788012
analogous
#124180 #1A1280 #511280
triadic
#1A1280 #801A12 #12801A
tetradic
#1A1280 #801241 #788012 #128051
square
#1A1280 #801241 #788012 #128051
split-complementary
#1A1280 #805112 #418012
monochromatic
#05041B #0F0A4A #1A1280 #251AB6 #382BE1

Accessibility & contrast

On white

14.56
#1A1280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A1280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1280
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1280#FFFFFF#000000##FFFFFF
##1A12801.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1280;
/* rgb */ color: rgb(26, 18, 128);
/* oklch */ color: oklch(29.9% 0.170 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b54a6',
    500: '#1a1280',
    950: '#000000',
  },
}
SCSS
$custom: #1a1280;
$custom-light: #6b54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1280",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 244.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29885,
    "c": 0.16995,
    "h": 272.4
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#1A1280
secondary
#ACB638
accent
#F236E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1280

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

Preview Lab → · Contrast checker → · Palette generator →

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