#2C2091#2C2091

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

Color values

HEX#2C2091
RGBrgb(44, 32, 145)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 57%)
CMYKcmyk(69.7%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.35, 40.90, -59.74)
CIE-LCHlch(22.35, 72.39, 304.40°)
OKLaboklab(34.85% 0.0216 -0.1726)
OKLCHoklch(34.85% 0.174 277.1)
XYZxyz(6.6644, 3.6122, 27.1286)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2091 #859120
analogous
#204C91 #2C2091 #652091
triadic
#2C2091 #912C20 #20912C
tetradic
#2C2091 #91204C #859120 #209165
square
#2C2091 #91204C #859120 #209165
split-complementary
#2C2091 #916520 #4C9120
monochromatic
#0E0A2D #1D155F #2C2091 #3B2BC3 #6152D9

Accessibility & contrast

On white

12.19
#2C2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2091
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2091#FFFFFF#000000##FFFFFF
##2C20911.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c2091;
/* rgb */ color: rgb(44, 32, 145);
/* oklch */ color: oklch(34.8% 0.174 277.1);
Tailwind
colors: {
  custom: {
    50: '#755eb2',
    500: '#2c2091',
    950: '#000000',
  },
}
SCSS
$custom: #2c2091;
$custom-light: #755eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2091",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 246.372,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.17396,
    "h": 277.1
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#2C2091
secondary
#B1BC51
accent
#E741D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C2091

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

Preview Lab → · Contrast checker → · Palette generator →

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