#2B2CC2#2B2CC2

#2B2CC2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.222 H 271.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2B2CC2
RGBrgb(43, 44, 194)
HSLhsl(240, 64%, 46%)
HSVhsv(240, 78%, 76%)
CMYKcmyk(77.8%, 77.3%, 0%, 23.9%)
CIE-LABlab(29.93, 50.25, -76.75)
CIE-LCHlch(29.93, 91.73, 303.21°)
OKLaboklab(41.75% 0.0045 -0.2222)
OKLCHoklch(41.75% 0.222 271.2)
XYZxyz(11.6313, 6.2087, 51.6139)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CC2 #C2C12B
analogous
#2B78C2 #2B2CC2 #762BC2
triadic
#2B2CC2 #C22B2C #2CC22B
tetradic
#2B2CC2 #C22B78 #C2C12B #2BC276
square
#2B2CC2 #C22B78 #C2C12B #2BC276
split-complementary
#2B2CC2 #C2762B #78C22B
monochromatic
#15155E #202190 #2B2CC2 #5253D9 #8484E4

Accessibility & contrast

On white

9.37
#2B2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B2CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CC2
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CC2#FFFFFF#000000##FFFFFF
##2B2CC21.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b2cc2;
/* rgb */ color: rgb(43, 44, 194);
/* oklch */ color: oklch(41.8% 0.222 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f68d6',
    500: '#2b2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cc2;
$custom-light: #7f68d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cc2",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 239.603,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.22226,
    "h": 271.2
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#2B2CC2
secondary
#CDCC7C
accent
#E641E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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