#2E2EA4#2E2EA4

#2E2EA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.183 H 273.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA4
RGBrgb(46, 46, 164)
HSLhsl(240, 56%, 41%)
HSVhsv(240, 72%, 64%)
CMYKcmyk(72%, 72%, 0%, 35.7%)
CIE-LABlab(27.34, 39.42, -63.14)
CIE-LCHlch(27.34, 74.43, 301.98°)
OKLaboklab(39.02% 0.0124 -0.1826)
OKLCHoklch(39.02% 0.183 273.9)
XYZxyz(8.8023, 5.2143, 35.6573)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA4 #A4A42E
analogous
#2E69A4 #2E2EA4 #692EA4
triadic
#2E2EA4 #A42E2E #2EA42E
tetradic
#2E2EA4 #A42E69 #A4A42E #2EA469
square
#2E2EA4 #A42E69 #A4A42E #2EA469
split-complementary
#2E2EA4 #A4692E #69A42E
monochromatic
#131344 #212174 #2E2EA4 #4545CB #7474D8

Accessibility & contrast

On white

10.28
#2E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EA4
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA4#FFFFFF#000000##FFFFFF
##2E2EA41.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2ea4;
/* rgb */ color: rgb(46, 46, 164);
/* oklch */ color: oklch(39.0% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#7968c0',
    500: '#2e2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea4;
$custom-light: #7968c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea4",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.18299,
    "h": 273.9
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#2E2EA4
secondary
#C0C06E
accent
#DF48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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