#2C2BBA#2C2BBA

#2C2BBA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.213 H 272.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2C2BBA
RGBrgb(44, 43, 186)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(76.3%, 76.9%, 0%, 27.1%)
CIE-LABlab(28.92, 48.27, -73.70)
CIE-LCHlch(28.92, 88.10, 303.22°)
OKLaboklab(40.8% 0.0075 -0.2133)
OKLCHoklch(40.8% 0.213 272)
XYZxyz(10.7625, 5.8072, 46.9985)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BBA #B9BA2B
analogous
#2B71BA #2C2BBA #742BBA
triadic
#2C2BBA #BA2C2B #2BBA2C
tetradic
#2C2BBA #BA2B71 #B9BA2B #2BBA74
square
#2C2BBA #BA2B71 #B9BA2B #2BBA74
split-complementary
#2C2BBA #BA742B #71BA2B
monochromatic
#141457 #202088 #2C2BBA #4D4CD6 #7F7EE1

Accessibility & contrast

On white

9.72
#2C2BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C2BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BBA
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BBA#FFFFFF#000000##FFFFFF
##2C2BBA1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2bba;
/* rgb */ color: rgb(44, 43, 186);
/* oklch */ color: oklch(40.8% 0.213 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d67d0',
    500: '#2c2bba',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bba;
$custom-light: #7d67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bba",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 240.42,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.21346,
    "h": 272
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#2C2BBA
secondary
#C9CA77
accent
#E642E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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