#1C1A82#1C1A82

#1C1A82 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.165 H 272.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#1C1A82
RGBrgb(28, 26, 130)
HSLhsl(241, 67%, 31%)
HSVhsv(241, 80%, 51%)
CMYKcmyk(78.5%, 80%, 0%, 49%)
CIE-LABlab(18.35, 37.72, -56.98)
CIE-LCHlch(18.35, 68.34, 303.51°)
OKLaboklab(31.24% 0.0065 -0.1649)
OKLCHoklch(31.24% 0.165 272.3)
XYZxyz(4.8762, 2.5968, 21.3590)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1A82 #80821A
analogous
#1A4C82 #1C1A82 #501A82
triadic
#1C1A82 #821C1A #1A821C
tetradic
#1C1A82 #821A4C #80821A #1A8250
square
#1C1A82 #821A4C #80821A #1A8250
split-complementary
#1C1A82 #82501A #4C821A
monochromatic
#06061C #11104F #1C1A82 #2724B5 #413ED8

Accessibility & contrast

On white

13.82
#1C1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1A82
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1A82#FFFFFF#000000##FFFFFF
##1C1A821.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1a82;
/* rgb */ color: rgb(28, 26, 130);
/* oklch */ color: oklch(31.2% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c59a7',
    500: '#1c1a82',
    950: '#000000',
  },
}
SCSS
$custom: #1c1a82;
$custom-light: #6c59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1a82",
  "rgb": {
    "r": 28,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 241.154,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.16506,
    "h": 272.3
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#1C1A82
secondary
#B3B642
accent
#EA3EE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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