#2E2AC9#2E2AC9

#2E2AC9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.231 H 271.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2AC9
RGBrgb(46, 42, 201)
HSLhsl(242, 65%, 48%)
HSVhsv(242, 79%, 79%)
CMYKcmyk(77.1%, 79.1%, 0%, 21.2%)
CIE-LABlab(30.53, 53.68, -79.86)
CIE-LCHlch(30.53, 96.23, 303.91°)
OKLaboklab(42.44% 0.0071 -0.2312)
OKLCHoklch(42.44% 0.231 271.8)
XYZxyz(12.4937, 6.4524, 55.8340)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AC9 #C5C92A
analogous
#2A76C9 #2E2AC9 #7D2AC9
triadic
#2E2AC9 #C92E2A #2AC92E
tetradic
#2E2AC9 #C92A76 #C5C92A #2AC97D
square
#2E2AC9 #C92A76 #C5C92A #2AC97D
split-complementary
#2E2AC9 #C97D2A #76C92A
monochromatic
#171564 #221F96 #2E2AC9 #5855DB #8A87E6

Accessibility & contrast

On white

9.17
#2E2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2AC9
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AC9#FFFFFF#000000##FFFFFF
##2E2AC91.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2ac9;
/* rgb */ color: rgb(46, 42, 201);
/* oklch */ color: oklch(42.4% 0.231 271.8);
Tailwind
colors: {
  custom: {
    50: '#8267db',
    500: '#2e2ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ac9;
$custom-light: #8267db;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ac9",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 241.509,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.23128,
    "h": 271.8
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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