#2A2CB8#2A2CB8

#2A2CB8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.6% C 0.211 H 271.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2A2CB8
RGBrgb(42, 44, 184)
HSLhsl(239, 63%, 44%)
HSVhsv(239, 77%, 72%)
CMYKcmyk(77.2%, 76.1%, 0%, 27.8%)
CIE-LABlab(28.78, 46.92, -72.75)
CIE-LCHlch(28.78, 86.57, 302.82°)
OKLaboklab(40.61% 0.0053 -0.2106)
OKLCHoklch(40.61% 0.211 271.4)
XYZxyz(10.5043, 5.7531, 45.8950)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2CB8 #B8B62A
analogous
#2A73B8 #2A2CB8 #6F2AB8
triadic
#2A2CB8 #B82A2C #2CB82A
tetradic
#2A2CB8 #B82A73 #B8B62A #2AB86F
square
#2A2CB8 #B82A73 #B8B62A #2AB86F
split-complementary
#2A2CB8 #B86F2A #73B82A
monochromatic
#131454 #1F2086 #2A2CB8 #4A4CD6 #7B7DE1

Accessibility & contrast

On white

9.76
#2A2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2A2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2CB8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2CB8#FFFFFF#000000##FFFFFF
##2A2CB81.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a2cb8;
/* rgb */ color: rgb(42, 44, 184);
/* oklch */ color: oklch(40.6% 0.211 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c67cf',
    500: '#2a2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a2cb8;
$custom-light: #7c67cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2cb8",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 239.155,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.21069,
    "h": 271.4
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#2A2CB8
secondary
#C9C875
accent
#E442E6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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