#2E2EA3#2E2EA3

#2E2EA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.182 H 274.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E2EA3
RGBrgb(46, 46, 163)
HSLhsl(240, 56%, 41%)
HSVhsv(240, 72%, 64%)
CMYKcmyk(71.8%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.24, 39.08, -62.70)
CIE-LCHlch(27.24, 73.88, 301.93°)
OKLaboklab(38.92% 0.0126 -0.1813)
OKLCHoklch(38.92% 0.182 274)
XYZxyz(8.7124, 5.1783, 35.1836)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EA3 #A3A32E
analogous
#2E68A3 #2E2EA3 #682EA3
triadic
#2E2EA3 #A32E2E #2EA32E
tetradic
#2E2EA3 #A32E68 #A3A32E #2EA368
square
#2E2EA3 #A32E68 #A3A32E #2EA368
split-complementary
#2E2EA3 #A3682E #68A32E
monochromatic
#131344 #212173 #2E2EA3 #4444CA #7474D8

Accessibility & contrast

On white

10.32
#2E2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2EA3
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EA3#FFFFFF#000000##FFFFFF
##2E2EA31.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e2ea3;
/* rgb */ color: rgb(46, 46, 163);
/* oklch */ color: oklch(38.9% 0.182 274.0);
Tailwind
colors: {
  custom: {
    50: '#7868bf',
    500: '#2e2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ea3;
$custom-light: #7868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ea3",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.18172,
    "h": 274
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#2E2EA3
secondary
#BFBF6D
accent
#DF49DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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