#2C2CB7#2C2CB7

#2C2CB7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.209 H 272.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2C2CB7
RGBrgb(44, 44, 183)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(76%, 76%, 0%, 28.2%)
CIE-LABlab(28.78, 46.75, -72.14)
CIE-LCHlch(28.78, 85.97, 302.94°)
OKLaboklab(40.61% 0.0077 -0.2088)
OKLCHoklch(40.61% 0.209 272.1)
XYZxyz(10.4838, 5.7546, 45.3488)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CB7 #B7B72C
analogous
#2C72B7 #2C2CB7 #722CB7
triadic
#2C2CB7 #B72C2C #2CB72C
tetradic
#2C2CB7 #B72C72 #B7B72C #2CB772
square
#2C2CB7 #B72C72 #B7B72C #2CB772
split-complementary
#2C2CB7 #B7722C #72B72C
monochromatic
#141454 #202086 #2C2CB7 #4C4CD4 #7E7EE0

Accessibility & contrast

On white

9.76
#2C2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CB7
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CB7#FFFFFF#000000##FFFFFF
##2C2CB71.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2cb7;
/* rgb */ color: rgb(44, 44, 183);
/* oklch */ color: oklch(40.6% 0.209 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d67ce',
    500: '#2c2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cb7;
$custom-light: #7d67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cb7",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.20897,
    "h": 272.1
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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