#2A2AC8#2A2AC8

#2A2AC8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.231 H 270.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2A2AC8
RGBrgb(42, 42, 200)
HSLhsl(240, 65%, 47%)
HSVhsv(240, 79%, 78%)
CMYKcmyk(79%, 79%, 0%, 21.6%)
CIE-LABlab(30.20, 53.12, -79.83)
CIE-LCHlch(30.20, 95.89, 303.64°)
OKLaboklab(42.12% 0.0029 -0.2311)
OKLCHoklch(42.12% 0.231 270.7)
XYZxyz(12.2046, 6.3169, 55.2084)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2AC8 #C8C82A
analogous
#2A79C8 #2A2AC8 #792AC8
triadic
#2A2AC8 #C82A2A #2AC82A
tetradic
#2A2AC8 #C82A79 #C8C82A #2AC879
square
#2A2AC8 #C82A79 #C8C82A #2AC879
split-complementary
#2A2AC8 #C8792A #79C82A
monochromatic
#151563 #1F1F95 #2A2AC8 #5454DB #8787E6

Accessibility & contrast

On white

9.28
#2A2AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A2AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2AC8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2AC8#FFFFFF#000000##FFFFFF
##2A2AC81.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCC
Deuteranopia (green-blind)
#003FC5
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a2ac8;
/* rgb */ color: rgb(42, 42, 200);
/* oklch */ color: oklch(42.1% 0.231 270.7);
Tailwind
colors: {
  custom: {
    50: '#8067da',
    500: '#2a2ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2a2ac8;
$custom-light: #8067da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2ac8",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.23116,
    "h": 270.7
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2A2AC8
secondary
#CFCF7F
accent
#E840E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A2AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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