#1A1380#1A1380

#1A1380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.169 H 272.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1A1380
RGBrgb(26, 19, 128)
HSLhsl(244, 74%, 29%)
HSVhsv(244, 85%, 50%)
CMYKcmyk(79.7%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.72, 40.58, -58.43)
CIE-LCHlch(16.72, 71.14, 304.78°)
OKLaboklab(30% 0.0068 -0.169)
OKLCHoklch(30% 0.169 272.3)
XYZxyz(4.5538, 2.2434, 20.6109)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1380 #798013
analogous
#134380 #1A1380 #511380
triadic
#1A1380 #801A13 #13801A
tetradic
#1A1380 #801343 #798013 #138051
square
#1A1380 #801343 #798013 #138051
split-complementary
#1A1380 #805113 #438013
monochromatic
#05041B #0F0B4B #1A1380 #251BB5 #392DE0

Accessibility & contrast

On white

14.49
#1A1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1380
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1380#FFFFFF#000000##FFFFFF
##1A13801.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1380;
/* rgb */ color: rgb(26, 19, 128);
/* oklch */ color: oklch(30.0% 0.169 272.3);
Tailwind
colors: {
  custom: {
    50: '#6b54a6',
    500: '#1a1380',
    950: '#000000',
  },
}
SCSS
$custom: #1a1380;
$custom-light: #6b54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1380",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 243.853,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29997,
    "c": 0.16918,
    "h": 272.3
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#1A1380
secondary
#ADB539
accent
#F137E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1380

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

Preview Lab → · Contrast checker → · Palette generator →

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