#1C1256#1C1256

#1C1256 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.115 H 280.7°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1C1256
RGBrgb(28, 18, 86)
HSLhsl(249, 65%, 20%)
HSVhsv(249, 79%, 34%)
CMYKcmyk(67.4%, 79.1%, 0%, 66.3%)
CIE-LABlab(11.63, 27.07, -39.28)
CIE-LCHlch(11.63, 47.71, 304.57°)
OKLaboklab(25% 0.0215 -0.1133)
OKLCHoklch(25% 0.115 280.7)
XYZxyz(2.3744, 1.3512, 8.9380)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1256 #4C5612
analogous
#122A56 #1C1256 #3E1256
triadic
#1C1256 #561C12 #12561C
tetradic
#1C1256 #56122A #4C5612 #12563E
square
#1C1256 #56122A #4C5612 #12563E
split-complementary
#1C1256 #563E12 #2A5612
monochromatic
#080519 #0C0723 #1C1256 #2C1D89 #3D27BB

Accessibility & contrast

On white

16.53
#1C1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1C1256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1256
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1256#FFFFFF#000000##FFFFFF
##1C12561.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c1256;
/* rgb */ color: rgb(28, 18, 86);
/* oklch */ color: oklch(25.0% 0.115 280.7);
Tailwind
colors: {
  custom: {
    50: '#615186',
    500: '#1c1256',
    950: '#000000',
  },
}
SCSS
$custom: #1c1256;
$custom-light: #615186;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1256",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 248.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24998,
    "c": 0.11533,
    "h": 280.7
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#1C1256
secondary
#828F35
accent
#E83FD0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C1256

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

Preview Lab → · Contrast checker → · Palette generator →

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