#2C2CB4#2C2CB4

#2C2CB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.205 H 272.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB4
RGBrgb(44, 44, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.46, 45.76, -70.89)
CIE-LCHlch(28.46, 84.38, 302.84°)
OKLaboklab(40.28% 0.0083 -0.2052)
OKLCHoklch(40.28% 0.205 272.3)
XYZxyz(10.1748, 5.6310, 43.7218)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB4 #B4B42C
analogous
#2C70B4 #2C2CB4 #702CB4
triadic
#2C2CB4 #B42C2C #2CB42C
tetradic
#2C2CB4 #B42C70 #B4B42C #2CB470
square
#2C2CB4 #B42C70 #B4B42C #2CB470
split-complementary
#2C2CB4 #B4702C #70B42C
monochromatic
#141452 #202083 #2C2CB4 #4A4AD3 #7C7CDF

Accessibility & contrast

On white

9.88
#2C2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB4#FFFFFF#000000##FFFFFF
##2C2CB41.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2cb4;
/* rgb */ color: rgb(44, 44, 180);
/* oklch */ color: oklch(40.3% 0.205 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c67cc',
    500: '#2c2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb4;
$custom-light: #7c67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb4",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.20536,
    "h": 272.3
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#2C2CB4
secondary
#C7C775
accent
#E444E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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