#1C1982#1C1982

#1C1982 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.166 H 272.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1C1982
RGBrgb(28, 25, 130)
HSLhsl(242, 68%, 30%)
HSVhsv(242, 81%, 51%)
CMYKcmyk(78.5%, 80.8%, 0%, 49%)
CIE-LABlab(18.16, 38.28, -57.30)
CIE-LCHlch(18.16, 68.91, 303.74°)
OKLaboklab(31.11% 0.0069 -0.1658)
OKLCHoklch(31.11% 0.166 272.4)
XYZxyz(4.8544, 2.5533, 21.3518)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1982 #7F8219
analogous
#194B82 #1C1982 #501982
triadic
#1C1982 #821C19 #19821C
tetradic
#1C1982 #82194B #7F8219 #198250
square
#1C1982 #82194B #7F8219 #198250
split-complementary
#1C1982 #825019 #4B8219
monochromatic
#06051B #110F4F #1C1982 #2723B5 #403CD9

Accessibility & contrast

On white

13.90
#1C1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1982
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1982#FFFFFF#000000##FFFFFF
##1C19821.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c1982;
/* rgb */ color: rgb(28, 25, 130);
/* oklch */ color: oklch(31.1% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c58a8',
    500: '#1c1982',
    950: '#000000',
  },
}
SCSS
$custom: #1c1982;
$custom-light: #6c58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1982",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 241.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.16598,
    "h": 272.4
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#1C1982
secondary
#B3B641
accent
#EB3DE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1982

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

Preview Lab → · Contrast checker → · Palette generator →

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