#1C1268#1C1268

#1C1268 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.139 H 276.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#1C1268
RGBrgb(28, 18, 104)
HSLhsl(247, 70%, 24%)
HSVhsv(247, 83%, 41%)
CMYKcmyk(73.1%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.70, 33.31, -47.90)
CIE-LCHlch(13.70, 58.34, 304.82°)
OKLaboklab(27.07% 0.0166 -0.1384)
OKLCHoklch(27.07% 0.139 276.8)
XYZxyz(3.1931, 1.6787, 13.2498)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1268 #5E6812
analogous
#123368 #1C1268 #471268
triadic
#1C1268 #681C12 #12681C
tetradic
#1C1268 #681233 #5E6812 #126847
square
#1C1268 #681233 #5E6812 #126847
split-complementary
#1C1268 #684712 #336812
monochromatic
#07051A #0E0934 #1C1268 #2A1B9C #3824D0

Accessibility & contrast

On white

15.72
#1C1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1C1268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1268
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1268#FFFFFF#000000##FFFFFF
##1C12681.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c1268;
/* rgb */ color: rgb(28, 18, 104);
/* oklch */ color: oklch(27.1% 0.139 276.8);
Tailwind
colors: {
  custom: {
    50: '#665294',
    500: '#1c1268',
    950: '#000000',
  },
}
SCSS
$custom: #1c1268;
$custom-light: #665294;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1268",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 246.977,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27074,
    "c": 0.13942,
    "h": 276.8
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#1C1268
secondary
#93A036
accent
#ED3BD8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1C1268

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

Preview Lab → · Contrast checker → · Palette generator →

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