#1A1C93#1A1C93

#1A1C93 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.185 H 270.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1A1C93
RGBrgb(26, 28, 147)
HSLhsl(239, 70%, 34%)
HSVhsv(239, 82%, 58%)
CMYKcmyk(82.3%, 81%, 0%, 42.4%)
CIE-LABlab(20.66, 42.24, -63.81)
CIE-LCHlch(20.66, 76.52, 303.51°)
OKLaboklab(33.42% 0 -0.1848)
OKLCHoklch(33.42% 0.185 270)
XYZxyz(6.1059, 3.1560, 27.8855)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C93 #93911A
analogous
#1A5993 #1A1C93 #551A93
triadic
#1A1C93 #931A1C #1C931A
tetradic
#1A1C93 #931A59 #93911A #1A9355
square
#1A1C93 #931A59 #93911A #1A9355
split-complementary
#1A1C93 #93551A #59931A
monochromatic
#08082B #11125F #1A1C93 #2326C7 #494BDF

Accessibility & contrast

On white

12.87
#1A1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C93
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C93#FFFFFF#000000##FFFFFF
##1A1C931.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a1c93;
/* rgb */ color: rgb(26, 28, 147);
/* oklch */ color: oklch(33.4% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#6f5bb4',
    500: '#1a1c93',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c93;
$custom-light: #6f5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c93",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 239.008,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33422,
    "c": 0.18478,
    "h": 270
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#1A1C93
secondary
#C0BE48
accent
#EA3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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