#2D2AC8#2D2AC8

#2D2AC8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.3% C 0.230 H 271.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D2AC8
RGBrgb(45, 42, 200)
HSLhsl(241, 65%, 47%)
HSVhsv(241, 79%, 78%)
CMYKcmyk(77.5%, 79%, 0%, 21.6%)
CIE-LABlab(30.36, 53.31, -79.56)
CIE-LCHlch(30.36, 95.77, 303.82°)
OKLaboklab(42.28% 0.0062 -0.2303)
OKLCHoklch(42.28% 0.23 271.5)
XYZxyz(12.3320, 6.3826, 55.2144)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AC8 #C5C82A
analogous
#2A76C8 #2D2AC8 #7C2AC8
triadic
#2D2AC8 #C82D2A #2AC82D
tetradic
#2D2AC8 #C82A76 #C5C82A #2AC87C
square
#2D2AC8 #C82A76 #C5C82A #2AC87C
split-complementary
#2D2AC8 #C87C2A #76C82A
monochromatic
#161563 #221F95 #2D2AC8 #5754DB #8887E6

Accessibility & contrast

On white

9.22
#2D2AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D2AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AC8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AC8#FFFFFF#000000##FFFFFF
##2D2AC81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.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: #2d2ac8;
/* rgb */ color: rgb(45, 42, 200);
/* oklch */ color: oklch(42.3% 0.230 271.5);
Tailwind
colors: {
  custom: {
    50: '#8167da',
    500: '#2d2ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ac8;
$custom-light: #8167da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ac8",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 200
  },
  "hsl": {
    "h": 241.139,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.23038,
    "h": 271.5
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#2D2AC8
secondary
#CECF7F
accent
#E840E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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