#2C2BB5#2C2BB5

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

Color values

HEX#2C2BB5
RGBrgb(44, 43, 181)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.7%, 76.2%, 0%, 29%)
CIE-LABlab(28.38, 46.64, -71.63)
CIE-LCHlch(28.38, 85.48, 303.07°)
OKLaboklab(40.25% 0.0085 -0.2073)
OKLCHoklch(40.25% 0.208 272.4)
XYZxyz(10.2403, 5.5983, 44.2480)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BB5 #B4B52B
analogous
#2B6FB5 #2C2BB5 #712BB5
triadic
#2C2BB5 #B52C2B #2BB52C
tetradic
#2C2BB5 #B52B6F #B4B52B #2BB571
square
#2C2BB5 #B52B6F #B4B52B #2BB571
split-complementary
#2C2BB5 #B5712B #6FB52B
monochromatic
#141452 #201F84 #2C2BB5 #4A49D4 #7C7BE0

Accessibility & contrast

On white

9.91
#2C2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C2BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BB5
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BB5#FFFFFF#000000##FFFFFF
##2C2BB51.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2bb5;
/* rgb */ color: rgb(44, 43, 181);
/* oklch */ color: oklch(40.3% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2c2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2bb5;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2bb5",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 240.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.2075,
    "h": 272.4
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#2C2BB5
secondary
#C7C874
accent
#E543E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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