#2C2CB2#2C2CB2

#2C2CB2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.203 H 272.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB2
RGBrgb(44, 44, 178)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(75.3%, 75.3%, 0%, 30.2%)
CIE-LABlab(28.25, 45.10, -70.05)
CIE-LCHlch(28.25, 83.32, 302.78°)
OKLaboklab(40.07% 0.0087 -0.2028)
OKLCHoklch(40.07% 0.203 272.4)
XYZxyz(9.9726, 5.5501, 42.6566)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB2 #B2B22C
analogous
#2C6FB2 #2C2CB2 #6F2CB2
triadic
#2C2CB2 #B22C2C #2CB22C
tetradic
#2C2CB2 #B22C6F #B2B22C #2CB26F
square
#2C2CB2 #B22C6F #B2B22C #2CB26F
split-complementary
#2C2CB2 #B26F2C #6FB22C
monochromatic
#141450 #202081 #2C2CB2 #4949D2 #7A7ADE

Accessibility & contrast

On white

9.95
#2C2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB2
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB2#FFFFFF#000000##FFFFFF
##2C2CB21.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2cb2;
/* rgb */ color: rgb(44, 44, 178);
/* oklch */ color: oklch(40.1% 0.203 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b67ca',
    500: '#2c2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb2;
$custom-light: #7b67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb2",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.20294,
    "h": 272.4
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#2C2CB2
secondary
#C6C673
accent
#E444E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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