#2E2AB6#2E2AB6

#2E2AB6 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.209 H 273.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2E2AB6
RGBrgb(46, 42, 182)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.7%, 76.9%, 0%, 28.6%)
CIE-LABlab(28.41, 47.67, -72.16)
CIE-LCHlch(28.41, 86.48, 303.45°)
OKLaboklab(40.35% 0.0111 -0.2088)
OKLCHoklch(40.35% 0.209 273)
XYZxyz(10.3954, 5.6131, 44.7825)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB6 #B2B62A
analogous
#2A6CB6 #2E2AB6 #742AB6
triadic
#2E2AB6 #B62E2A #2AB62E
tetradic
#2E2AB6 #B62A6C #B2B62A #2AB674
square
#2E2AB6 #B62A6C #B2B62A #2AB674
split-complementary
#2E2AB6 #B6742A #6CB62A
monochromatic
#151353 #211F84 #2E2AB6 #4C48D5 #7D7AE0

Accessibility & contrast

On white

9.89
#2E2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2AB6
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB6#FFFFFF#000000##FFFFFF
##2E2AB61.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2ab6;
/* rgb */ color: rgb(46, 42, 182);
/* oklch */ color: oklch(40.3% 0.209 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2e2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab6;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab6",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 241.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.20909,
    "h": 273
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#2E2AB6
secondary
#C6C873
accent
#E642E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2E2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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