#2C1990#2C1990

#2C1990 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.179 H 278.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2C1990
RGBrgb(44, 25, 144)
HSLhsl(250, 70%, 33%)
HSVhsv(250, 83%, 56%)
CMYKcmyk(69.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(21.00, 44.15, -61.35)
CIE-LCHlch(21.00, 75.59, 305.74°)
OKLaboklab(33.87% 0.0254 -0.1772)
OKLCHoklch(33.87% 0.179 278.2)
XYZxyz(6.4188, 3.2438, 26.6680)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1990 #7D9019
analogous
#194190 #2C1990 #671990
triadic
#2C1990 #902C19 #19902C
tetradic
#2C1990 #901941 #7D9019 #199067
square
#2C1990 #901941 #7D9019 #199067
split-complementary
#2C1990 #906719 #419019
monochromatic
#0C0728 #1C105C #2C1990 #3C22C4 #5D45DF

Accessibility & contrast

On white

12.74
#2C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1990
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1990#FFFFFF#000000##FFFFFF
##2C19901.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c1990;
/* rgb */ color: rgb(44, 25, 144);
/* oklch */ color: oklch(33.9% 0.179 278.2);
Tailwind
colors: {
  custom: {
    50: '#755ab2',
    500: '#2c1990',
    950: '#000000',
  },
}
SCSS
$custom: #2c1990;
$custom-light: #755ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1990",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 249.58,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33871,
    "c": 0.17903,
    "h": 278.2
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#2C1990
secondary
#ACC045
accent
#ED3BD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1990

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

Preview Lab → · Contrast checker → · Palette generator →

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