#2B2CBA#2B2CBA

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

Color values

HEX#2B2CBA
RGBrgb(43, 44, 186)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(76.9%, 76.3%, 0%, 27.1%)
CIE-LABlab(29.05, 47.66, -73.48)
CIE-LCHlch(29.05, 87.58, 302.97°)
OKLaboklab(40.88% 0.006 -0.2127)
OKLCHoklch(40.88% 0.213 271.6)
XYZxyz(10.7569, 5.8590, 47.0088)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CBA #BAB92B
analogous
#2B74BA #2B2CBA #712BBA
triadic
#2B2CBA #BA2B2C #2CBA2B
tetradic
#2B2CBA #BA2B74 #BAB92B #2BBA71
square
#2B2CBA #BA2B74 #BAB92B #2BBA71
split-complementary
#2B2CBA #BA712B #74BA2B
monochromatic
#141457 #202088 #2B2CBA #4C4DD6 #7E7FE1

Accessibility & contrast

On white

9.67
#2B2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CBA
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CBA#FFFFFF#000000##FFFFFF
##2B2CBA1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2cba;
/* rgb */ color: rgb(43, 44, 186);
/* oklch */ color: oklch(40.9% 0.213 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d67d0',
    500: '#2b2cba',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cba;
$custom-light: #7d67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cba",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 239.58,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.21282,
    "h": 271.6
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#2B2CBA
secondary
#CAC977
accent
#E442E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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