#1A1680#1A1680

#1A1680 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.167 H 272.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1A1680
RGBrgb(26, 22, 128)
HSLhsl(242, 71%, 29%)
HSVhsv(242, 83%, 50%)
CMYKcmyk(79.7%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.23, 39.07, -57.57)
CIE-LCHlch(17.23, 69.58, 304.16°)
OKLaboklab(30.35% 0.0059 -0.1666)
OKLCHoklch(30.35% 0.167 272)
XYZxyz(4.6079, 2.3514, 20.6289)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1680 #7C8016
analogous
#164780 #1A1680 #4F1680
triadic
#1A1680 #801A16 #16801A
tetradic
#1A1680 #801647 #7C8016 #16804F
square
#1A1680 #801647 #7C8016 #16804F
split-complementary
#1A1680 #804F16 #478016
monochromatic
#05041A #0F0D4C #1A1680 #251FB4 #3B34DC

Accessibility & contrast

On white

14.28
#1A1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1680
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1680#FFFFFF#000000##FFFFFF
##1A16801.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1680;
/* rgb */ color: rgb(26, 22, 128);
/* oklch */ color: oklch(30.4% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b56a6',
    500: '#1a1680',
    950: '#000000',
  },
}
SCSS
$custom: #1a1680;
$custom-light: #6b56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1680",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 242.264,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.16671,
    "h": 272
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#1A1680
secondary
#B0B53D
accent
#ED3AE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A1680

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

Preview Lab → · Contrast checker → · Palette generator →

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