#2C2BB4#2C2BB4

#2C2BB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.206 H 272.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2BB4
RGBrgb(44, 43, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(28.27, 46.32, -71.21)
CIE-LCHlch(28.27, 84.95, 303.04°)
OKLaboklab(40.14% 0.0087 -0.2061)
OKLCHoklch(40.14% 0.206 272.4)
XYZxyz(10.1380, 5.5574, 43.7096)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BB4 #B3B42B
analogous
#2B6EB4 #2C2BB4 #702BB4
triadic
#2C2BB4 #B42C2B #2BB42C
tetradic
#2C2BB4 #B42B6E #B3B42B #2BB470
square
#2C2BB4 #B42B6E #B3B42B #2BB470
split-complementary
#2C2BB4 #B4702B #6EB42B
monochromatic
#141351 #201F83 #2C2BB4 #4A49D3 #7B7ADF

Accessibility & contrast

On white

9.94
#2C2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BB4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BB4#FFFFFF#000000##FFFFFF
##2C2BB41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2bb4;
/* rgb */ color: rgb(44, 43, 180);
/* oklch */ color: oklch(40.1% 0.206 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c67cc',
    500: '#2c2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bb4;
$custom-light: #7c67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bb4",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 240.438,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.2063,
    "h": 272.4
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#2C2BB4
secondary
#C7C773
accent
#E543E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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