#2C2094#2C2094

#2C2094 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.178 H 276.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2C2094
RGBrgb(44, 32, 148)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 58%)
CMYKcmyk(70.3%, 78.4%, 0%, 42%)
CIE-LABlab(22.67, 41.87, -61.05)
CIE-LCHlch(22.67, 74.03, 304.44°)
OKLaboklab(35.17% 0.0208 -0.1764)
OKLCHoklch(35.17% 0.178 276.7)
XYZxyz(6.8988, 3.7060, 28.3630)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2094 #889420
analogous
#204E94 #2C2094 #662094
triadic
#2C2094 #942C20 #20942C
tetradic
#2C2094 #94204E #889420 #209466
square
#2C2094 #94204E #889420 #209466
split-complementary
#2C2094 #946620 #4E9420
monochromatic
#0E0A2F #1D1562 #2C2094 #3B2BC6 #6254DA

Accessibility & contrast

On white

12.06
#2C2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2094
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2094#FFFFFF#000000##FFFFFF
##2C20941.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2094;
/* rgb */ color: rgb(44, 32, 148);
/* oklch */ color: oklch(35.2% 0.178 276.7);
Tailwind
colors: {
  custom: {
    50: '#755eb5',
    500: '#2c2094',
    950: '#000000',
  },
}
SCSS
$custom: #2c2094;
$custom-light: #755eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2094",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 246.207,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35175,
    "c": 0.17767,
    "h": 276.7
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#2C2094
secondary
#B3BE52
accent
#E740D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C2094

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

Preview Lab → · Contrast checker → · Palette generator →

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