#1C1978#1C1978

#1C1978 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.153 H 273.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1C1978
RGBrgb(28, 25, 120)
HSLhsl(242, 66%, 28%)
HSVhsv(242, 79%, 47%)
CMYKcmyk(76.7%, 79.2%, 0%, 52.9%)
CIE-LABlab(16.98, 34.84, -52.88)
CIE-LCHlch(16.98, 63.33, 303.38°)
OKLaboklab(29.93% 0.0091 -0.153)
OKLCHoklch(29.93% 0.153 273.4)
XYZxyz(4.2156, 2.2978, 17.9870)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1978 #757819
analogous
#194578 #1C1978 #4B1978
triadic
#1C1978 #781C19 #19781C
tetradic
#1C1978 #781945 #757819 #19784B
square
#1C1978 #781945 #757819 #19784B
split-complementary
#1C1978 #784B19 #457819
monochromatic
#060519 #100E45 #1C1978 #2824AB #3B36D5

Accessibility & contrast

On white

14.39
#1C1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1978
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1978#FFFFFF#000000##FFFFFF
##1C19781.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c1978;
/* rgb */ color: rgb(28, 25, 120);
/* oklch */ color: oklch(29.9% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#6957a0',
    500: '#1c1978',
    950: '#000000',
  },
}
SCSS
$custom: #1c1978;
$custom-light: #6957a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1978",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 241.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.2993,
    "c": 0.15327,
    "h": 273.4
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#1C1978
secondary
#A9AD40
accent
#E83FE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1978

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

Preview Lab → · Contrast checker → · Palette generator →

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