#2C2CA2#2C2CA2

#2C2CA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.183 H 273.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA2
RGBrgb(44, 44, 162)
HSLhsl(240, 57%, 40%)
HSVhsv(240, 73%, 64%)
CMYKcmyk(72.8%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.58, 39.72, -63.18)
CIE-LCHlch(26.58, 74.63, 302.15°)
OKLaboklab(38.38% 0.0115 -0.1827)
OKLCHoklch(38.38% 0.183 273.6)
XYZxyz(8.4588, 4.9446, 34.6840)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA2 #A2A22C
analogous
#2C67A2 #2C2CA2 #672CA2
triadic
#2C2CA2 #A22C2C #2CA22C
tetradic
#2C2CA2 #A22C67 #A2A22C #2CA267
square
#2C2CA2 #A22C67 #A2A22C #2CA267
split-complementary
#2C2CA2 #A2672C #67A22C
monochromatic
#121242 #1F1F72 #2C2CA2 #4040CB #7070D8

Accessibility & contrast

On white

10.56
#2C2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C2CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA2
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA2#FFFFFF#000000##FFFFFF
##2C2CA21.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ca2;
/* rgb */ color: rgb(44, 44, 162);
/* oklch */ color: oklch(38.4% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2c2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca2;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca2",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.1831,
    "h": 273.6
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#2C2CA2
secondary
#BFBF6A
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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