#1C1267#1C1267

#1C1267 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.138 H 277.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1C1267
RGBrgb(28, 18, 103)
HSLhsl(247, 70%, 24%)
HSVhsv(247, 83%, 40%)
CMYKcmyk(72.8%, 82.5%, 0%, 59.6%)
CIE-LABlab(13.58, 32.97, -47.44)
CIE-LCHlch(13.58, 57.77, 304.80°)
OKLaboklab(26.96% 0.0169 -0.1371)
OKLCHoklch(26.96% 0.138 277)
XYZxyz(3.1426, 1.6585, 12.9838)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1267 #5D6712
analogous
#123267 #1C1267 #461267
triadic
#1C1267 #671C12 #12671C
tetradic
#1C1267 #671232 #5D6712 #126746
square
#1C1267 #671232 #5D6712 #126746
split-complementary
#1C1267 #674612 #326712
monochromatic
#07051A #0E0933 #1C1267 #2A1B9B #3824CF

Accessibility & contrast

On white

15.77
#1C1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1C1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1267
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1267#FFFFFF#000000##FFFFFF
##1C12671.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1c1267;
/* rgb */ color: rgb(28, 18, 103);
/* oklch */ color: oklch(27.0% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#655293',
    500: '#1c1267',
    950: '#000000',
  },
}
SCSS
$custom: #1c1267;
$custom-light: #655293;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1267",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 247.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26956,
    "c": 0.13813,
    "h": 277
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#1C1267
secondary
#929F36
accent
#ED3BD8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1C1267

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

Preview Lab → · Contrast checker → · Palette generator →

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