#2C2BCA#2C2BCA

#2C2BCA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.6% C 0.232 H 271.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2C2BCA
RGBrgb(44, 43, 202)
HSLhsl(240, 65%, 48%)
HSVhsv(240, 79%, 79%)
CMYKcmyk(78.2%, 78.7%, 0%, 20.8%)
CIE-LABlab(30.70, 53.37, -80.16)
CIE-LCHlch(30.70, 96.30, 303.65°)
OKLaboklab(42.57% 0.0044 -0.2321)
OKLCHoklch(42.57% 0.232 271.1)
XYZxyz(12.5596, 6.5261, 56.4634)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BCA #C9CA2B
analogous
#2B7ACA #2C2BCA #7B2BCA
triadic
#2C2BCA #CA2C2B #2BCA2C
tetradic
#2C2BCA #CA2B7A #C9CA2B #2BCA7B
square
#2C2BCA #CA2B7A #C9CA2B #2BCA7B
split-complementary
#2C2BCA #CA7B2B #7ACA2B
monochromatic
#161665 #212098 #2C2BCA #5857DB #8A89E6

Accessibility & contrast

On white

9.11
#2C2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BCA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BCA#FFFFFF#000000##FFFFFF
##2C2BCA1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0040C7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c2bca;
/* rgb */ color: rgb(44, 43, 202);
/* oklch */ color: oklch(42.6% 0.232 271.1);
Tailwind
colors: {
  custom: {
    50: '#8168dc',
    500: '#2c2bca',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bca;
$custom-light: #8168dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bca",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 240.377,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.23211,
    "h": 271.1
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#2C2BCA
secondary
#CFD081
accent
#E840E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2C2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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