#2C2CB5#2C2CB5

#2C2CB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.207 H 272.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB5
RGBrgb(44, 44, 181)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.7%, 75.7%, 0%, 29%)
CIE-LABlab(28.57, 46.09, -71.31)
CIE-LCHlch(28.57, 84.91, 302.88°)
OKLaboklab(40.39% 0.0081 -0.2064)
OKLCHoklch(40.39% 0.207 272.3)
XYZxyz(10.2771, 5.6719, 44.2603)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB5 #B5B52C
analogous
#2C71B5 #2C2CB5 #712CB5
triadic
#2C2CB5 #B52C2C #2CB52C
tetradic
#2C2CB5 #B52C71 #B5B52C #2CB571
square
#2C2CB5 #B52C71 #B5B52C #2CB571
split-complementary
#2C2CB5 #B5712C #71B52C
monochromatic
#141453 #202084 #2C2CB5 #4B4BD3 #7C7CDF

Accessibility & contrast

On white

9.84
#2C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2CB5
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB5#FFFFFF#000000##FFFFFF
##2C2CB51.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2cb5;
/* rgb */ color: rgb(44, 44, 181);
/* oklch */ color: oklch(40.4% 0.207 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2c2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb5;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb5",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.20657,
    "h": 272.3
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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