#2C2092#2C2092

#2C2092 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.175 H 277.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2C2092
RGBrgb(44, 32, 146)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 57%)
CMYKcmyk(69.9%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.45, 41.22, -60.18)
CIE-LCHlch(22.45, 72.94, 304.41°)
OKLaboklab(34.96% 0.0213 -0.1739)
OKLCHoklch(34.96% 0.175 277)
XYZxyz(6.7418, 3.6432, 27.5365)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2092 #869220
analogous
#204D92 #2C2092 #652092
triadic
#2C2092 #922C20 #20922C
tetradic
#2C2092 #92204D #869220 #209265
square
#2C2092 #92204D #869220 #209265
split-complementary
#2C2092 #926520 #4D9220
monochromatic
#0E0A2E #1D1560 #2C2092 #3B2BC4 #6153D9

Accessibility & contrast

On white

12.15
#2C2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2092
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2092#FFFFFF#000000##FFFFFF
##2C20921.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2092;
/* rgb */ color: rgb(44, 32, 146);
/* oklch */ color: oklch(35.0% 0.175 277.0);
Tailwind
colors: {
  custom: {
    50: '#755eb3',
    500: '#2c2092',
    950: '#000000',
  },
}
SCSS
$custom: #2c2092;
$custom-light: #755eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2092",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 246.316,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.1752,
    "h": 277
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2C2092
secondary
#B1BD51
accent
#E741D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C2092

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

Preview Lab → · Contrast checker → · Palette generator →

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