#2C2190#2C2190

#2C2190 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.172 H 277.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2C2190
RGBrgb(44, 33, 144)
HSLhsl(246, 63%, 35%)
HSVhsv(246, 77%, 56%)
CMYKcmyk(69.4%, 77.1%, 0%, 43.5%)
CIE-LABlab(22.43, 40.02, -58.98)
CIE-LCHlch(22.43, 71.27, 304.16°)
OKLaboklab(34.87% 0.0213 -0.1704)
OKLCHoklch(34.87% 0.172 277.1)
XYZxyz(6.6150, 3.6362, 26.7334)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2190 #859021
analogous
#214E90 #2C2190 #642190
triadic
#2C2190 #902C21 #21902C
tetradic
#2C2190 #90214E #859021 #219064
square
#2C2190 #90214E #859021 #219064
split-complementary
#2C2190 #906421 #4E9021
monochromatic
#0E0A2C #1D165E #2C2190 #3B2CC2 #6154D8

Accessibility & contrast

On white

12.16
#2C2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2190
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2190#FFFFFF#000000##FFFFFF
##2C21901.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2190;
/* rgb */ color: rgb(44, 33, 144);
/* oklch */ color: oklch(34.9% 0.172 277.1);
Tailwind
colors: {
  custom: {
    50: '#745fb2',
    500: '#2c2190',
    950: '#000000',
  },
}
SCSS
$custom: #2c2190;
$custom-light: #745fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2190",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 245.946,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.17173,
    "h": 277.1
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#2C2190
secondary
#B1BB51
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2190

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

Preview Lab → · Contrast checker → · Palette generator →

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