#2C2CB6#2C2CB6

#2C2CB6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.208 H 272.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB6
RGBrgb(44, 44, 182)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.8%, 75.8%, 0%, 28.6%)
CIE-LABlab(28.68, 46.42, -71.73)
CIE-LCHlch(28.68, 85.44, 302.91°)
OKLaboklab(40.5% 0.0079 -0.2076)
OKLCHoklch(40.5% 0.208 272.2)
XYZxyz(10.3800, 5.7131, 44.8026)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB6 #B6B62C
analogous
#2C71B6 #2C2CB6 #712CB6
triadic
#2C2CB6 #B62C2C #2CB62C
tetradic
#2C2CB6 #B62C71 #B6B62C #2CB671
square
#2C2CB6 #B62C71 #B6B62C #2CB671
split-complementary
#2C2CB6 #B6712C #71B62C
monochromatic
#141453 #202085 #2C2CB6 #4C4CD4 #7D7DE0

Accessibility & contrast

On white

9.80
#2C2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB6
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB6#FFFFFF#000000##FFFFFF
##2C2CB61.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2cb6;
/* rgb */ color: rgb(44, 44, 182);
/* oklch */ color: oklch(40.5% 0.208 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2c2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb6;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb6",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.20777,
    "h": 272.2
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#2C2CB6
secondary
#C8C876
accent
#E444E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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