#2C1C90#2C1C90

#2C1C90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.176 H 277.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2C1C90
RGBrgb(44, 28, 144)
HSLhsl(248, 67%, 34%)
HSVhsv(248, 81%, 56%)
CMYKcmyk(69.4%, 80.6%, 0%, 43.5%)
CIE-LABlab(21.50, 42.68, -60.51)
CIE-LCHlch(21.50, 74.05, 305.20°)
OKLaboklab(34.22% 0.024 -0.1748)
OKLCHoklch(34.22% 0.176 277.8)
XYZxyz(6.4864, 3.3790, 26.6905)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C90 #80901C
analogous
#1C4690 #2C1C90 #661C90
triadic
#2C1C90 #902C1C #1C902C
tetradic
#2C1C90 #901C46 #80901C #1C9066
square
#2C1C90 #901C46 #80901C #1C9066
split-complementary
#2C1C90 #90661C #46901C
monochromatic
#0D082A #1C125D #2C1C90 #3C26C3 #5F4ADC

Accessibility & contrast

On white

12.53
#2C1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1C90
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C90#FFFFFF#000000##FFFFFF
##2C1C901.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c1c90;
/* rgb */ color: rgb(44, 28, 144);
/* oklch */ color: oklch(34.2% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#755cb2',
    500: '#2c1c90',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c90;
$custom-light: #755cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c90",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 248.276,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.17645,
    "h": 277.8
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#2C1C90
secondary
#AEBE4A
accent
#EA3DD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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