#2A2CB3#2A2CB3

#2A2CB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.205 H 271.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2A2CB3
RGBrgb(42, 44, 179)
HSLhsl(239, 62%, 43%)
HSVhsv(239, 77%, 70%)
CMYKcmyk(76.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.24, 45.27, -70.67)
CIE-LCHlch(28.24, 83.92, 302.64°)
OKLaboklab(40.06% 0.0062 -0.2046)
OKLCHoklch(40.06% 0.205 271.7)
XYZxyz(9.9895, 5.5472, 43.1833)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CB3 #B3B12A
analogous
#2A70B3 #2A2CB3 #6C2AB3
triadic
#2A2CB3 #B32A2C #2CB32A
tetradic
#2A2CB3 #B32A70 #B3B12A #2AB36C
square
#2A2CB3 #B32A70 #B3B12A #2AB36C
split-complementary
#2A2CB3 #B36C2A #70B32A
monochromatic
#131450 #1E2081 #2A2CB3 #4649D4 #787ADF

Accessibility & contrast

On white

9.95
#2A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CB3
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CB3#FFFFFF#000000##FFFFFF
##2A2CB31.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a2cb3;
/* rgb */ color: rgb(42, 44, 179);
/* oklch */ color: oklch(40.1% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b67cb',
    500: '#2a2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cb3;
$custom-light: #7b67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cb3",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 239.124,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.20467,
    "h": 271.7
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#2A2CB3
secondary
#C7C672
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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