#1C073E#1C073E

#1C073E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.096 H 293.6°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#1C073E
RGBrgb(28, 7, 62)
HSLhsl(263, 80%, 14%)
HSVhsv(263, 89%, 24%)
CMYKcmyk(54.8%, 88.7%, 0%, 75.7%)
CIE-LABlab(6.74, 25.23, -30.57)
CIE-LCHlch(6.74, 39.64, 309.53°)
OKLaboklab(20.71% 0.0385 -0.0881)
OKLCHoklch(20.71% 0.096 293.6)
XYZxyz(1.4241, 0.7466, 4.6256)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C073E #293E07
analogous
#070D3E #1C073E #37073E
triadic
#1C073E #3E1C07 #073E1C
tetradic
#1C073E #3E070D #293E07 #073E37
square
#1C073E #3E070D #293E07 #073E37
split-complementary
#1C073E #3E3707 #0D3E07
monochromatic
#0C031B #0C031B #1C073E #350D75 #4E13AC

Accessibility & contrast

On white

18.27
#1C073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1C073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C073E
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C073E#FFFFFF#000000##FFFFFF
##1C073E1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#111622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1c073e;
/* rgb */ color: rgb(28, 7, 62);
/* oklch */ color: oklch(20.7% 0.096 293.6);
Tailwind
colors: {
  custom: {
    50: '#5d4974',
    500: '#1c073e',
    950: '#000000',
  },
}
SCSS
$custom: #1c073e;
$custom-light: #5d4974;
$custom-dark: #000000;
JSON
{
  "hex": "#1c073e",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 262.909,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.09614,
    "h": 293.6
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#1C073E
secondary
#5B7D24
accent
#F632AB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C073E

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

Preview Lab → · Contrast checker → · Palette generator →

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