#2A2CB4#2A2CB4

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

Color values

HEX#2A2CB4
RGBrgb(42, 44, 180)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 77%, 71%)
CMYKcmyk(76.7%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.35, 45.60, -71.09)
CIE-LCHlch(28.35, 84.46, 302.68°)
OKLaboklab(40.17% 0.006 -0.2058)
OKLCHoklch(40.17% 0.206 271.7)
XYZxyz(10.0910, 5.5878, 43.7179)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CB4 #B4B22A
analogous
#2A71B4 #2A2CB4 #6D2AB4
triadic
#2A2CB4 #B42A2C #2CB42A
tetradic
#2A2CB4 #B42A71 #B4B22A #2AB46D
square
#2A2CB4 #B42A71 #B4B22A #2AB46D
split-complementary
#2A2CB4 #B46D2A #71B42A
monochromatic
#131451 #1E2082 #2A2CB4 #4749D4 #797AE0

Accessibility & contrast

On white

9.92
#2A2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2CB4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CB4#FFFFFF#000000##FFFFFF
##2A2CB41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2cb4;
/* rgb */ color: rgb(42, 44, 180);
/* oklch */ color: oklch(40.2% 0.206 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b67cc',
    500: '#2a2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cb4;
$custom-light: #7b67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cb4",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 239.13,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.20588,
    "h": 271.7
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#2A2CB4
secondary
#C8C672
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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