#1C1972#1C1972

#1C1972 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.145 H 274.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1C1972
RGBrgb(28, 25, 114)
HSLhsl(242, 64%, 27%)
HSVhsv(242, 78%, 45%)
CMYKcmyk(75.4%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.29, 32.73, -50.15)
CIE-LCHlch(16.29, 59.89, 303.13°)
OKLaboklab(29.24% 0.0104 -0.1451)
OKLCHoklch(29.24% 0.145 274.1)
XYZxyz(3.8628, 2.1567, 16.1290)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1972 #6F7219
analogous
#194372 #1C1972 #481972
triadic
#1C1972 #721C19 #19721C
tetradic
#1C1972 #721943 #6F7219 #197248
square
#1C1972 #721943 #6F7219 #197248
split-complementary
#1C1972 #724819 #437219
monochromatic
#060619 #100E40 #1C1972 #2824A4 #3833D2

Accessibility & contrast

On white

14.67
#1C1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1972
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1972#FFFFFF#000000##FFFFFF
##1C19721.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c1972;
/* rgb */ color: rgb(28, 25, 114);
/* oklch */ color: oklch(29.2% 0.145 274.1);
Tailwind
colors: {
  custom: {
    50: '#67579c',
    500: '#1c1972',
    950: '#000000',
  },
}
SCSS
$custom: #1c1972;
$custom-light: #67579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1972",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 242.022,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.14545,
    "h": 274.1
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1972

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

Preview Lab → · Contrast checker → · Palette generator →

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