#2C2284#2C2284

#2C2284 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.155 H 278.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#2C2284
RGBrgb(44, 34, 132)
HSLhsl(246, 59%, 33%)
HSVhsv(246, 74%, 52%)
CMYKcmyk(66.7%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.38, 35.46, -53.21)
CIE-LCHlch(21.38, 63.94, 303.67°)
OKLaboklab(33.75% 0.0233 -0.1536)
OKLCHoklch(33.75% 0.155 278.6)
XYZxyz(5.7743, 3.3450, 22.1667)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2284 #7A8422
analogous
#224984 #2C2284 #5D2284
triadic
#2C2284 #842C22 #22842C
tetradic
#2C2284 #842249 #7A8422 #22845D
square
#2C2284 #842249 #7A8422 #22845D
split-complementary
#2C2284 #845D22 #498422
monochromatic
#0C0923 #1C1553 #2C2284 #3C2FB5 #5C4FD2

Accessibility & contrast

On white

12.58
#2C2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2284
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2284#FFFFFF#000000##FFFFFF
##2C22841.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2284;
/* rgb */ color: rgb(44, 34, 132);
/* oklch */ color: oklch(33.7% 0.155 278.6);
Tailwind
colors: {
  custom: {
    50: '#725fa9',
    500: '#2c2284',
    950: '#000000',
  },
}
SCSS
$custom: #2c2284;
$custom-light: #725fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2284",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 246.122,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33749,
    "c": 0.15537,
    "h": 278.6
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#2C2284
secondary
#AAB54D
accent
#E246D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2284

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

Preview Lab → · Contrast checker → · Palette generator →

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