#1A1880#1A1880

#1A1880 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.165 H 271.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#1A1880
RGBrgb(26, 24, 128)
HSLhsl(241, 68%, 30%)
HSVhsv(241, 81%, 50%)
CMYKcmyk(79.7%, 81.3%, 0%, 49.8%)
CIE-LABlab(17.60, 38.00, -56.96)
CIE-LCHlch(17.60, 68.47, 303.71°)
OKLaboklab(30.61% 0.0052 -0.1649)
OKLCHoklch(30.61% 0.165 271.8)
XYZxyz(4.6476, 2.4309, 20.6422)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1880 #7E8018
analogous
#184A80 #1A1880 #4E1880
triadic
#1A1880 #801A18 #18801A
tetradic
#1A1880 #80184A #7E8018 #18804E
square
#1A1880 #80184A #7E8018 #18804E
split-complementary
#1A1880 #804E18 #4A8018
monochromatic
#05051A #100E4C #1A1880 #2422B4 #3C39DA

Accessibility & contrast

On white

14.13
#1A1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1880
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1880#FFFFFF#000000##FFFFFF
##1A18801.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1880;
/* rgb */ color: rgb(26, 24, 128);
/* oklch */ color: oklch(30.6% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#6b57a6',
    500: '#1a1880',
    950: '#000000',
  },
}
SCSS
$custom: #1a1880;
$custom-light: #6b57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1880",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 241.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30614,
    "c": 0.16495,
    "h": 271.8
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#1A1880
secondary
#B2B440
accent
#EB3DE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A1880

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

Preview Lab → · Contrast checker → · Palette generator →

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