#2E2AB5#2E2AB5

#2E2AB5 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.208 H 273.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2AB5
RGBrgb(46, 42, 181)
HSLhsl(242, 62%, 44%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.6%, 76.8%, 0%, 29%)
CIE-LABlab(28.31, 47.35, -71.74)
CIE-LCHlch(28.31, 85.96, 303.42°)
OKLaboklab(40.24% 0.0113 -0.2076)
OKLCHoklch(40.24% 0.208 273.1)
XYZxyz(10.2924, 5.5719, 44.2402)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB5 #B1B52A
analogous
#2A6BB5 #2E2AB5 #732AB5
triadic
#2E2AB5 #B52E2A #2AB52E
tetradic
#2E2AB5 #B52A6B #B1B52A #2AB573
square
#2E2AB5 #B52A6B #B1B52A #2AB573
split-complementary
#2E2AB5 #B5732A #6BB52A
monochromatic
#151352 #211E83 #2E2AB5 #4C48D4 #7C79E0

Accessibility & contrast

On white

9.93
#2E2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AB5
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB5#FFFFFF#000000##FFFFFF
##2E2AB51.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2ab5;
/* rgb */ color: rgb(46, 42, 181);
/* oklch */ color: oklch(40.2% 0.208 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2e2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab5;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab5",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 241.727,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.20791,
    "h": 273.1
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#2E2AB5
secondary
#C6C873
accent
#E542E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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