#2E2EA5#2E2EA5

#2E2EA5 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.184 H 273.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA5
RGBrgb(46, 46, 165)
HSLhsl(240, 56%, 41%)
HSVhsv(240, 72%, 65%)
CMYKcmyk(72.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(27.44, 39.76, -63.58)
CIE-LCHlch(27.44, 74.99, 302.02°)
OKLaboklab(39.12% 0.0123 -0.1839)
OKLCHoklch(39.12% 0.184 273.8)
XYZxyz(8.8930, 5.2506, 36.1348)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA5 #A5A52E
analogous
#2E6AA5 #2E2EA5 #6A2EA5
triadic
#2E2EA5 #A52E2E #2EA52E
tetradic
#2E2EA5 #A52E6A #A5A52E #2EA56A
square
#2E2EA5 #A52E6A #A5A52E #2EA56A
split-complementary
#2E2EA5 #A56A2E #6AA52E
monochromatic
#131345 #212175 #2E2EA5 #4545CB #7575D8

Accessibility & contrast

On white

10.24
#2E2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EA5
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA5#FFFFFF#000000##FFFFFF
##2E2EA51.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2ea5;
/* rgb */ color: rgb(46, 46, 165);
/* oklch */ color: oklch(39.1% 0.184 273.8);
Tailwind
colors: {
  custom: {
    50: '#7968c1',
    500: '#2e2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea5;
$custom-light: #7968c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea5",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.18426,
    "h": 273.8
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#2E2EA5
secondary
#C0C06F
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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