#2C2684#2C2684

#2C2684 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.151 H 277.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2684
RGBrgb(44, 38, 132)
HSLhsl(244, 55%, 33%)
HSVhsv(244, 71%, 52%)
CMYKcmyk(66.7%, 71.2%, 0%, 48.2%)
CIE-LABlab(22.26, 33.02, -51.77)
CIE-LCHlch(22.26, 61.40, 302.53°)
OKLaboklab(34.38% 0.0203 -0.1494)
OKLCHoklch(34.38% 0.151 277.7)
XYZxyz(5.8953, 3.5872, 22.2070)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2684 #7E8426
analogous
#264F84 #2C2684 #5B2684
triadic
#2C2684 #842C26 #26842C
tetradic
#2C2684 #84264F #7E8426 #26845B
square
#2C2684 #84264F #7E8426 #26845B
split-complementary
#2C2684 #845B26 #4F8426
monochromatic
#0C0B25 #1C1854 #2C2684 #3C34B4 #5E56CE

Accessibility & contrast

On white

12.23
#2C2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2684
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2684#FFFFFF#000000##FFFFFF
##2C26841.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c2684;
/* rgb */ color: rgb(44, 38, 132);
/* oklch */ color: oklch(34.4% 0.151 277.7);
Tailwind
colors: {
  custom: {
    50: '#7161a9',
    500: '#2c2684',
    950: '#000000',
  },
}
SCSS
$custom: #2c2684;
$custom-light: #7161a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2684",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 243.83,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.15077,
    "h": 277.7
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#2C2684
secondary
#ADB353
accent
#DF49D5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2684

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

Preview Lab → · Contrast checker → · Palette generator →

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