#1C1979#1C1979

#1C1979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 273.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#1C1979
RGBrgb(28, 25, 121)
HSLhsl(242, 66%, 29%)
HSVhsv(242, 79%, 47%)
CMYKcmyk(76.9%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.09, 35.19, -53.33)
CIE-LCHlch(17.09, 63.89, 303.42°)
OKLaboklab(30.05% 0.0089 -0.1543)
OKLCHoklch(30.05% 0.155 273.3)
XYZxyz(4.2766, 2.3222, 18.3083)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1979 #767919
analogous
#194679 #1C1979 #4C1979
triadic
#1C1979 #791C19 #19791C
tetradic
#1C1979 #791946 #767919 #19794C
square
#1C1979 #791946 #767919 #19794C
split-complementary
#1C1979 #794C19 #467919
monochromatic
#060519 #100F46 #1C1979 #2823AC #3C37D6

Accessibility & contrast

On white

14.34
#1C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1979
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1979#FFFFFF#000000##FFFFFF
##1C19791.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c1979;
/* rgb */ color: rgb(28, 25, 121);
/* oklch */ color: oklch(30.0% 0.155 273.3);
Tailwind
colors: {
  custom: {
    50: '#6957a1',
    500: '#1c1979',
    950: '#000000',
  },
}
SCSS
$custom: #1c1979;
$custom-light: #6957a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1979",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 241.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.15457,
    "h": 273.3
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#1C1979
secondary
#AAAE40
accent
#E93FE3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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