#1A1C84#1A1C84

#1A1C84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.166 H 271.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1A1C84
RGBrgb(26, 28, 132)
HSLhsl(239, 67%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(80.3%, 78.8%, 0%, 48.2%)
CIE-LABlab(18.87, 37.12, -57.40)
CIE-LCHlch(18.87, 68.35, 302.89°)
OKLaboklab(31.64% 0.0029 -0.1662)
OKLCHoklch(31.64% 0.166 271)
XYZxyz(5.0047, 2.7155, 22.0857)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C84 #84821A
analogous
#1A5184 #1A1C84 #4D1A84
triadic
#1A1C84 #841A1C #1C841A
tetradic
#1A1C84 #841A51 #84821A #1A844D
square
#1A1C84 #841A51 #84821A #1A844D
split-complementary
#1A1C84 #844D1A #51841A
monochromatic
#06061E #101151 #1A1C84 #2427B7 #3F42D9

Accessibility & contrast

On white

13.61
#1A1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C84
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C84#FFFFFF#000000##FFFFFF
##1A1C841.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1c84;
/* rgb */ color: rgb(26, 28, 132);
/* oklch */ color: oklch(31.6% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b5aa9',
    500: '#1a1c84',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c84;
$custom-light: #6b5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c84",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 238.868,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31641,
    "c": 0.16623,
    "h": 271
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#1A1C84
secondary
#B8B542
accent
#E73EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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