#2A2CB1#2A2CB1

#2A2CB1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.202 H 271.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2A2CB1
RGBrgb(42, 44, 177)
HSLhsl(239, 62%, 43%)
HSVhsv(239, 76%, 69%)
CMYKcmyk(76.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.03, 44.60, -69.83)
CIE-LCHlch(28.03, 82.86, 302.57°)
OKLaboklab(39.85% 0.0066 -0.2021)
OKLCHoklch(39.85% 0.202 271.9)
XYZxyz(9.7887, 5.4669, 42.1258)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CB1 #B1AF2A
analogous
#2A6FB1 #2A2CB1 #6B2AB1
triadic
#2A2CB1 #B12A2C #2CB12A
tetradic
#2A2CB1 #B12A6F #B1AF2A #2AB16B
square
#2A2CB1 #B12A6F #B1AF2A #2AB16B
split-complementary
#2A2CB1 #B16B2A #6FB12A
monochromatic
#13134E #1E2080 #2A2CB1 #4547D3 #7778DF

Accessibility & contrast

On white

10.03
#2A2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CB1
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CB1#FFFFFF#000000##FFFFFF
##2A2CB11.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a2cb1;
/* rgb */ color: rgb(42, 44, 177);
/* oklch */ color: oklch(39.8% 0.202 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b67ca',
    500: '#2a2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cb1;
$custom-light: #7b67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cb1",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 239.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.20225,
    "h": 271.9
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#2A2CB1
secondary
#C6C570
accent
#E243E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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