#1A1C97#1A1C97

#1A1C97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.190 H 269.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1A1C97
RGBrgb(26, 28, 151)
HSLhsl(239, 71%, 35%)
HSVhsv(239, 83%, 59%)
CMYKcmyk(82.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(21.15, 43.57, -65.47)
CIE-LCHlch(21.15, 78.64, 303.64°)
OKLaboklab(33.9% -0.0008 -0.1896)
OKLCHoklch(33.9% 0.19 269.7)
XYZxyz(6.4253, 3.2837, 29.5673)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C97 #97951A
analogous
#1A5B97 #1A1C97 #571A97
triadic
#1A1C97 #971A1C #1C971A
tetradic
#1A1C97 #971A5B #97951A #1A9757
square
#1A1C97 #971A5B #97951A #1A9757
split-complementary
#1A1C97 #97571A #5B971A
monochromatic
#08092F #111263 #1A1C97 #2326CB #4B4EE0

Accessibility & contrast

On white

12.68
#1A1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C97
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C97#FFFFFF#000000##FFFFFF
##1A1C971.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002C95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a1c97;
/* rgb */ color: rgb(26, 28, 151);
/* oklch */ color: oklch(33.9% 0.190 269.7);
Tailwind
colors: {
  custom: {
    50: '#715bb7',
    500: '#1a1c97',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c97;
$custom-light: #715bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c97",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 239.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33904,
    "c": 0.18959,
    "h": 269.7
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#1A1C97
secondary
#C2C04B
accent
#EB3AED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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