#1C1977#1C1977

#1C1977 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.152 H 273.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1C1977
RGBrgb(28, 25, 119)
HSLhsl(242, 65%, 28%)
HSVhsv(242, 79%, 47%)
CMYKcmyk(76.5%, 79%, 0%, 53.3%)
CIE-LABlab(16.86, 34.49, -52.43)
CIE-LCHlch(16.86, 62.76, 303.34°)
OKLaboklab(29.81% 0.0094 -0.1517)
OKLCHoklch(29.81% 0.152 273.5)
XYZxyz(4.1552, 2.2736, 17.6691)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1977 #747719
analogous
#194577 #1C1977 #4B1977
triadic
#1C1977 #771C19 #19771C
tetradic
#1C1977 #771945 #747719 #19774B
square
#1C1977 #771945 #747719 #19774B
split-complementary
#1C1977 #774B19 #457719
monochromatic
#060519 #100E44 #1C1977 #2824AA #3B36D5

Accessibility & contrast

On white

14.43
#1C1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1977
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1977#FFFFFF#000000##FFFFFF
##1C19771.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1977;
/* rgb */ color: rgb(28, 25, 119);
/* oklch */ color: oklch(29.8% 0.152 273.5);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1c1977',
    950: '#000000',
  },
}
SCSS
$custom: #1c1977;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1977",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 241.915,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29814,
    "c": 0.15198,
    "h": 273.5
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#1C1977
secondary
#A8AC40
accent
#E840E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1C1977

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

Preview Lab → · Contrast checker → · Palette generator →

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