#1C1264#1C1264

#1C1264 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.134 H 277.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#1C1264
RGBrgb(28, 18, 100)
HSLhsl(247, 69%, 23%)
HSVhsv(247, 82%, 39%)
CMYKcmyk(72%, 82%, 0%, 60.8%)
CIE-LABlab(13.23, 31.95, -46.04)
CIE-LCHlch(13.23, 56.04, 304.76°)
OKLaboklab(26.6% 0.0177 -0.133)
OKLCHoklch(26.6% 0.134 277.6)
XYZxyz(2.9947, 1.5993, 12.2050)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1264 #5A6412
analogous
#123164 #1C1264 #451264
triadic
#1C1264 #641C12 #12641C
tetradic
#1C1264 #641231 #5A6412 #126445
square
#1C1264 #641231 #5A6412 #126445
split-complementary
#1C1264 #644512 #316412
monochromatic
#07051A #0D0930 #1C1264 #2B1B98 #3925CC

Accessibility & contrast

On white

15.91
#1C1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1C1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1264
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1264#FFFFFF#000000##FFFFFF
##1C12641.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1c1264;
/* rgb */ color: rgb(28, 18, 100);
/* oklch */ color: oklch(26.6% 0.134 277.6);
Tailwind
colors: {
  custom: {
    50: '#655291',
    500: '#1c1264',
    950: '#000000',
  },
}
SCSS
$custom: #1c1264;
$custom-light: #655291;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1264",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 247.317,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26601,
    "c": 0.13421,
    "h": 277.6
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#1C1264
secondary
#8F9C36
accent
#EC3BD7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1C1264

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

Preview Lab → · Contrast checker → · Palette generator →

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