#2D2AC9#2D2AC9

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

Color values

HEX#2D2AC9
RGBrgb(45, 42, 201)
HSLhsl(241, 65%, 48%)
HSVhsv(241, 79%, 79%)
CMYKcmyk(77.6%, 79.1%, 0%, 21.2%)
CIE-LABlab(30.47, 53.62, -79.96)
CIE-LCHlch(30.47, 96.27, 303.84°)
OKLaboklab(42.39% 0.006 -0.2314)
OKLCHoklch(42.39% 0.232 271.5)
XYZxyz(12.4492, 6.4295, 55.8319)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AC9 #C6C92A
analogous
#2A77C9 #2D2AC9 #7C2AC9
triadic
#2D2AC9 #C92D2A #2AC92D
tetradic
#2D2AC9 #C92A77 #C6C92A #2AC97C
square
#2D2AC9 #C92A77 #C6C92A #2AC97C
split-complementary
#2D2AC9 #C97C2A #77C92A
monochromatic
#161564 #221F96 #2D2AC9 #5755DB #8987E6

Accessibility & contrast

On white

9.19
#2D2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D2AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AC9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AC9#FFFFFF#000000##FFFFFF
##2D2AC91.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCD
Deuteranopia (green-blind)
#0040C6
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d2ac9;
/* rgb */ color: rgb(45, 42, 201);
/* oklch */ color: oklch(42.4% 0.232 271.5);
Tailwind
colors: {
  custom: {
    50: '#8167db',
    500: '#2d2ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ac9;
$custom-light: #8167db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ac9",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 241.132,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.23153,
    "h": 271.5
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#2D2AC9
secondary
#CED07F
accent
#E83FE5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2D2AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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