#1C1971#1C1971

#1C1971 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.144 H 274.2°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#1C1971
RGBrgb(28, 25, 113)
HSLhsl(242, 64%, 27%)
HSVhsv(242, 78%, 44%)
CMYKcmyk(75.2%, 77.9%, 0%, 55.7%)
CIE-LABlab(16.18, 32.38, -49.69)
CIE-LCHlch(16.18, 59.31, 303.09°)
OKLaboklab(29.13% 0.0107 -0.1437)
OKLCHoklch(29.13% 0.144 274.2)
XYZxyz(3.8062, 2.1340, 15.8309)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1971 #6E7119
analogous
#194271 #1C1971 #481971
triadic
#1C1971 #711C19 #19711C
tetradic
#1C1971 #711942 #6E7119 #197148
square
#1C1971 #711942 #6E7119 #197148
split-complementary
#1C1971 #714819 #427119
monochromatic
#060619 #100E3F #1C1971 #2824A3 #3833D2

Accessibility & contrast

On white

14.72
#1C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1971
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1971#FFFFFF#000000##FFFFFF
##1C19711.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c1971;
/* rgb */ color: rgb(28, 25, 113);
/* oklch */ color: oklch(29.1% 0.144 274.2);
Tailwind
colors: {
  custom: {
    50: '#67579b',
    500: '#1c1971',
    950: '#000000',
  },
}
SCSS
$custom: #1c1971;
$custom-light: #67579b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1971",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 242.045,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.14412,
    "h": 274.2
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#1C1971
secondary
#A3A640
accent
#E741E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1971

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

Preview Lab → · Contrast checker → · Palette generator →

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