#2A2CB5#2A2CB5

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

Color values

HEX#2A2CB5
RGBrgb(42, 44, 181)
HSLhsl(239, 62%, 44%)
HSVhsv(239, 77%, 71%)
CMYKcmyk(76.8%, 75.7%, 0%, 29%)
CIE-LABlab(28.46, 45.93, -71.50)
CIE-LCHlch(28.46, 84.99, 302.72°)
OKLaboklab(40.28% 0.0058 -0.207)
OKLCHoklch(40.28% 0.207 271.6)
XYZxyz(10.1932, 5.6287, 44.2563)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CB5 #B5B32A
analogous
#2A71B5 #2A2CB5 #6D2AB5
triadic
#2A2CB5 #B52A2C #2CB52A
tetradic
#2A2CB5 #B52A71 #B5B32A #2AB56D
square
#2A2CB5 #B52A71 #B5B32A #2AB56D
split-complementary
#2A2CB5 #B56D2A #71B52A
monochromatic
#131452 #1E2083 #2A2CB5 #484AD4 #797BE0

Accessibility & contrast

On white

9.88
#2A2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CB5
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CB5#FFFFFF#000000##FFFFFF
##2A2CB51.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2cb5;
/* rgb */ color: rgb(42, 44, 181);
/* oklch */ color: oklch(40.3% 0.207 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2a2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cb5;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cb5",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 239.137,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40279,
    "c": 0.20708,
    "h": 271.6
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#2A2CB5
secondary
#C8C773
accent
#E342E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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