#1C1778#1C1778

#1C1778 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.155 H 273.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1C1778
RGBrgb(28, 23, 120)
HSLhsl(243, 68%, 28%)
HSVhsv(243, 81%, 47%)
CMYKcmyk(76.7%, 80.8%, 0%, 52.9%)
CIE-LABlab(16.58, 35.98, -53.54)
CIE-LCHlch(16.58, 64.51, 303.90°)
OKLaboklab(29.65% 0.01 -0.1549)
OKLCHoklch(29.65% 0.155 273.7)
XYZxyz(4.1743, 2.2153, 17.9733)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1778 #737817
analogous
#174278 #1C1778 #4C1778
triadic
#1C1778 #781C17 #17781C
tetradic
#1C1778 #781742 #737817 #17784C
square
#1C1778 #781742 #737817 #17784C
split-complementary
#1C1778 #784C17 #427817
monochromatic
#06051A #100D45 #1C1778 #2821AB #3A32D8

Accessibility & contrast

On white

14.55
#1C1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1778
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1778#FFFFFF#000000##FFFFFF
##1C17781.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c1778;
/* rgb */ color: rgb(28, 23, 120);
/* oklch */ color: oklch(29.6% 0.155 273.7);
Tailwind
colors: {
  custom: {
    50: '#6956a0',
    500: '#1c1778',
    950: '#000000',
  },
}
SCSS
$custom: #1c1778;
$custom-light: #6956a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1778",
  "rgb": {
    "r": 28,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 243.093,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.15523,
    "h": 273.7
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#1C1778
secondary
#A7AD3E
accent
#EB3DE2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1778

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

Preview Lab → · Contrast checker → · Palette generator →

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