#2A2CBB#2A2CBB

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

Color values

HEX#2A2CBB
RGBrgb(42, 44, 187)
HSLhsl(239, 63%, 45%)
HSVhsv(239, 78%, 73%)
CMYKcmyk(77.5%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.11, 47.91, -73.98)
CIE-LCHlch(29.11, 88.14, 302.93°)
OKLaboklab(40.93% 0.0047 -0.2142)
OKLCHoklch(40.93% 0.214 271.3)
XYZxyz(10.8221, 5.8803, 47.5687)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CBB #BBB92A
analogous
#2A75BB #2A2CBB #702ABB
triadic
#2A2CBB #BB2A2C #2CBB2A
tetradic
#2A2CBB #BB2A75 #BBB92A #2ABB70
square
#2A2CBB #BB2A75 #BBB92A #2ABB70
split-complementary
#2A2CBB #BB702A #75BB2A
monochromatic
#141457 #1F2089 #2A2CBB #4C4DD7 #7D7FE2

Accessibility & contrast

On white

9.65
#2A2CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2CBB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CBB#FFFFFF#000000##FFFFFF
##2A2CBB1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.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: #2a2cbb;
/* rgb */ color: rgb(42, 44, 187);
/* oklch */ color: oklch(40.9% 0.214 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d67d1',
    500: '#2a2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cbb;
$custom-light: #7d67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cbb",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 239.172,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.21426,
    "h": 271.3
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#2A2CBB
secondary
#CAC976
accent
#E441E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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