#2C2294#2C2294

#2C2294 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.176 H 276.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2C2294
RGBrgb(44, 34, 148)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 58%)
CMYKcmyk(70.3%, 77%, 0%, 42%)
CIE-LABlab(23.06, 40.78, -60.42)
CIE-LCHlch(23.06, 72.89, 304.02°)
OKLaboklab(35.44% 0.0198 -0.1746)
OKLCHoklch(35.44% 0.176 276.5)
XYZxyz(6.9543, 3.8170, 28.3815)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2294 #8A9422
analogous
#225194 #2C2294 #652294
triadic
#2C2294 #942C22 #22942C
tetradic
#2C2294 #942251 #8A9422 #229465
square
#2C2294 #942251 #8A9422 #229465
split-complementary
#2C2294 #946522 #519422
monochromatic
#0E0B30 #1D1762 #2C2294 #3B2DC6 #6358D9

Accessibility & contrast

On white

11.91
#2C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2294
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2294#FFFFFF#000000##FFFFFF
##2C22941.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2294;
/* rgb */ color: rgb(44, 34, 148);
/* oklch */ color: oklch(35.4% 0.176 276.5);
Tailwind
colors: {
  custom: {
    50: '#755fb5',
    500: '#2c2294',
    950: '#000000',
  },
}
SCSS
$custom: #2c2294;
$custom-light: #755fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2294",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 245.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35444,
    "c": 0.17573,
    "h": 276.5
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#2C2294
secondary
#B4BD55
accent
#E642D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2294

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

Preview Lab → · Contrast checker → · Palette generator →

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