#2E2EA0#2E2EA0

#2E2EA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.178 H 274.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA0
RGBrgb(46, 46, 160)
HSLhsl(240, 55%, 40%)
HSVhsv(240, 71%, 63%)
CMYKcmyk(71.2%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.94, 38.05, -61.37)
CIE-LCHlch(26.94, 72.20, 301.80°)
OKLaboklab(38.61% 0.0131 -0.1774)
OKLCHoklch(38.61% 0.178 274.2)
XYZxyz(8.4468, 5.0721, 33.7848)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA0 #A0A02E
analogous
#2E67A0 #2E2EA0 #672EA0
triadic
#2E2EA0 #A02E2E #2EA02E
tetradic
#2E2EA0 #A02E67 #A0A02E #2EA067
square
#2E2EA0 #A02E67 #A0A02E #2EA067
split-complementary
#2E2EA0 #A0672E #67A02E
monochromatic
#131341 #202070 #2E2EA0 #4242C9 #7272D6

Accessibility & contrast

On white

10.42
#2E2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EA0
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA0#FFFFFF#000000##FFFFFF
##2E2EA01.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ea0;
/* rgb */ color: rgb(46, 46, 160);
/* oklch */ color: oklch(38.6% 0.178 274.2);
Tailwind
colors: {
  custom: {
    50: '#7868bd',
    500: '#2e2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea0;
$custom-light: #7868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea0",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.17788,
    "h": 274.2
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#2E2EA0
secondary
#BEBE6C
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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