#2E2ABB#2E2ABB

#2E2ABB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.215 H 272.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2E2ABB
RGBrgb(46, 42, 187)
HSLhsl(242, 63%, 45%)
HSVhsv(242, 78%, 73%)
CMYKcmyk(75.4%, 77.5%, 0%, 26.7%)
CIE-LABlab(28.96, 49.27, -74.22)
CIE-LCHlch(28.96, 89.09, 303.58°)
OKLaboklab(40.89% 0.0101 -0.2148)
OKLCHoklch(40.89% 0.215 272.7)
XYZxyz(10.9213, 5.8235, 47.5525)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2ABB #B7BB2A
analogous
#2A6FBB #2E2ABB #762ABB
triadic
#2E2ABB #BB2E2A #2ABB2E
tetradic
#2E2ABB #BB2A6F #B7BB2A #2ABB76
square
#2E2ABB #BB2A6F #B7BB2A #2ABB76
split-complementary
#2E2ABB #BB762A #6FBB2A
monochromatic
#151457 #221F89 #2E2ABB #4F4CD7 #807DE2

Accessibility & contrast

On white

9.70
#2E2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E2ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2ABB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2ABB#FFFFFF#000000##FFFFFF
##2E2ABB1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e2abb;
/* rgb */ color: rgb(46, 42, 187);
/* oklch */ color: oklch(40.9% 0.215 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e66d1',
    500: '#2e2abb',
    950: '#000000',
  },
}
SCSS
$custom: #2e2abb;
$custom-light: #7e66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2abb",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 241.655,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.21502,
    "h": 272.7
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#2E2ABB
secondary
#C8CA76
accent
#E641E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2E2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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