#2C1C80#2C1C80

#2C1C80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 280.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2C1C80
RGBrgb(44, 28, 128)
HSLhsl(250, 64%, 31%)
HSVhsv(250, 78%, 50%)
CMYKcmyk(65.6%, 78.1%, 0%, 49.8%)
CIE-LABlab(19.74, 37.57, -53.39)
CIE-LCHlch(19.74, 65.28, 305.13°)
OKLaboklab(32.46% 0.0284 -0.1541)
OKLCHoklch(32.46% 0.157 280.4)
XYZxyz(5.3490, 2.9241, 20.7004)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C80 #70801C
analogous
#1C3E80 #2C1C80 #5E1C80
triadic
#2C1C80 #802C1C #1C802C
tetradic
#2C1C80 #801C3E #70801C #1C805E
square
#2C1C80 #801C3E #70801C #1C805E
split-complementary
#2C1C80 #805E1C #3E801C
monochromatic
#09061C #1B114E #2C1C80 #3D27B2 #5941D5

Accessibility & contrast

On white

13.25
#2C1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C1C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C80
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C80#FFFFFF#000000##FFFFFF
##2C1C801.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c1c80;
/* rgb */ color: rgb(44, 28, 128);
/* oklch */ color: oklch(32.5% 0.157 280.4);
Tailwind
colors: {
  custom: {
    50: '#715ba6',
    500: '#2c1c80',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c80;
$custom-light: #715ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c80",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 249.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.15666,
    "h": 280.4
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#2C1C80
secondary
#A2B344
accent
#E741CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2C1C80

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

Preview Lab → · Contrast checker → · Palette generator →

#2C1C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva