#1C1981#1C1981

#1C1981 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.165 H 272.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1C1981
RGBrgb(28, 25, 129)
HSLhsl(242, 68%, 30%)
HSVhsv(242, 81%, 51%)
CMYKcmyk(78.3%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.04, 37.94, -56.87)
CIE-LCHlch(18.04, 68.36, 303.71°)
OKLaboklab(30.99% 0.0071 -0.1646)
OKLCHoklch(30.99% 0.165 272.5)
XYZxyz(4.7876, 2.5266, 21.0000)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1981 #7E8119
analogous
#194A81 #1C1981 #501981
triadic
#1C1981 #811C19 #19811C
tetradic
#1C1981 #81194A #7E8119 #198150
square
#1C1981 #81194A #7E8119 #198150
split-complementary
#1C1981 #815019 #4A8119
monochromatic
#06051A #110F4E #1C1981 #2723B4 #403BD9

Accessibility & contrast

On white

13.95
#1C1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1C1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1981
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1981#FFFFFF#000000##FFFFFF
##1C19811.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1981;
/* rgb */ color: rgb(28, 25, 129);
/* oklch */ color: oklch(31.0% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b58a7',
    500: '#1c1981',
    950: '#000000',
  },
}
SCSS
$custom: #1c1981;
$custom-light: #6b58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1981",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 241.731,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.16473,
    "h": 272.5
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#1C1981
secondary
#B2B541
accent
#EA3DE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1981

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

Preview Lab → · Contrast checker → · Palette generator →

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