#2E2AB4#2E2AB4

#2E2AB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.207 H 273.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2E2AB4
RGBrgb(46, 42, 180)
HSLhsl(242, 62%, 44%)
HSVhsv(242, 77%, 71%)
CMYKcmyk(74.4%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.20, 47.02, -71.33)
CIE-LCHlch(28.20, 85.43, 303.40°)
OKLaboklab(40.13% 0.0115 -0.2064)
OKLCHoklch(40.13% 0.207 273.2)
XYZxyz(10.1901, 5.5310, 43.7017)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2AB4 #B0B42A
analogous
#2A6BB4 #2E2AB4 #732AB4
triadic
#2E2AB4 #B42E2A #2AB42E
tetradic
#2E2AB4 #B42A6B #B0B42A #2AB473
square
#2E2AB4 #B42A6B #B0B42A #2AB473
split-complementary
#2E2AB4 #B4732A #6BB42A
monochromatic
#151351 #211E82 #2E2AB4 #4B47D4 #7C79E0

Accessibility & contrast

On white

9.97
#2E2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2AB4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2AB4#FFFFFF#000000##FFFFFF
##2E2AB41.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e2ab4;
/* rgb */ color: rgb(46, 42, 180);
/* oklch */ color: oklch(40.1% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d66cc',
    500: '#2e2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ab4;
$custom-light: #7d66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ab4",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 241.739,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.20671,
    "h": 273.2
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#2E2AB4
secondary
#C5C872
accent
#E543E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2E2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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