#2B2CBB#2B2CBB

#2B2CBB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.214 H 271.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2B2CBB
RGBrgb(43, 44, 187)
HSLhsl(240, 63%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(77%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.16, 47.98, -73.89)
CIE-LCHlch(29.16, 88.11, 303.00°)
OKLaboklab(40.99% 0.0059 -0.2139)
OKLCHoklch(40.99% 0.214 271.6)
XYZxyz(10.8636, 5.9016, 47.5707)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CBB #BBBA2B
analogous
#2B74BB #2B2CBB #722BBB
triadic
#2B2CBB #BB2B2C #2CBB2B
tetradic
#2B2CBB #BB2B74 #BBBA2B #2BBB72
square
#2B2CBB #BB2B74 #BBBA2B #2BBB72
split-complementary
#2B2CBB #BB722B #74BB2B
monochromatic
#141557 #202089 #2B2CBB #4D4ED6 #7F80E2

Accessibility & contrast

On white

9.63
#2B2CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2B2CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CBB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CBB#FFFFFF#000000##FFFFFF
##2B2CBB1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003DB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b2cbb;
/* rgb */ color: rgb(43, 44, 187);
/* oklch */ color: oklch(41.0% 0.214 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d67d1',
    500: '#2b2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cbb;
$custom-light: #7d67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cbb",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 239.583,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40986,
    "c": 0.21401,
    "h": 271.6
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#2B2CBB
secondary
#CACA78
accent
#E542E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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