#1C1879#1C1879

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

Color values

HEX#1C1879
RGBrgb(28, 24, 121)
HSLhsl(242, 67%, 28%)
HSVhsv(242, 80%, 47%)
CMYKcmyk(76.9%, 80.2%, 0%, 52.5%)
CIE-LABlab(16.89, 35.76, -53.66)
CIE-LCHlch(16.89, 64.49, 303.68°)
OKLaboklab(29.91% 0.0094 -0.1553)
OKLCHoklch(29.91% 0.156 273.5)
XYZxyz(4.2556, 2.2802, 18.3013)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1879 #757918
analogous
#184479 #1C1879 #4C1879
triadic
#1C1879 #791C18 #18791C
tetradic
#1C1879 #791844 #757918 #18794C
square
#1C1879 #791844 #757918 #18794C
split-complementary
#1C1879 #794C18 #447918
monochromatic
#06051A #100E46 #1C1879 #2822AC #3B35D7

Accessibility & contrast

On white

14.42
#1C1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1879
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1879#FFFFFF#000000##FFFFFF
##1C18791.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c1879;
/* rgb */ color: rgb(28, 24, 121);
/* oklch */ color: oklch(29.9% 0.156 273.5);
Tailwind
colors: {
  custom: {
    50: '#6957a1',
    500: '#1c1879',
    950: '#000000',
  },
}
SCSS
$custom: #1c1879;
$custom-light: #6957a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1879",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 242.474,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.15554,
    "h": 273.5
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#1C1879
secondary
#A9AE3F
accent
#EA3EE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1879

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

Preview Lab → · Contrast checker → · Palette generator →

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