#1C1984#1C1984

#1C1984 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.168 H 272.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1C1984
RGBrgb(28, 25, 132)
HSLhsl(242, 68%, 31%)
HSVhsv(242, 81%, 52%)
CMYKcmyk(78.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.40, 38.96, -58.17)
CIE-LCHlch(18.40, 70.01, 303.81°)
OKLaboklab(31.34% 0.0064 -0.1684)
OKLCHoklch(31.34% 0.168 272.2)
XYZxyz(4.9900, 2.6075, 22.0656)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1984 #818419
analogous
#194B84 #1C1984 #511984
triadic
#1C1984 #841C19 #19841C
tetradic
#1C1984 #84194B #818419 #198451
square
#1C1984 #84194B #818419 #198451
split-complementary
#1C1984 #845119 #4B8419
monochromatic
#06061D #110F51 #1C1984 #2723B7 #423DDA

Accessibility & contrast

On white

13.80
#1C1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1984
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1984#FFFFFF#000000##FFFFFF
##1C19841.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1984;
/* rgb */ color: rgb(28, 25, 132);
/* oklch */ color: oklch(31.3% 0.168 272.2);
Tailwind
colors: {
  custom: {
    50: '#6c58a9',
    500: '#1c1984',
    950: '#000000',
  },
}
SCSS
$custom: #1c1984;
$custom-light: #6c58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1984",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 241.682,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31344,
    "c": 0.16848,
    "h": 272.2
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1984

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

Preview Lab → · Contrast checker → · Palette generator →

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