#2E2EC7#2E2EC7

#2E2EC7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.226 H 271.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2E2EC7
RGBrgb(46, 46, 199)
HSLhsl(240, 62%, 48%)
HSVhsv(240, 77%, 78%)
CMYKcmyk(76.9%, 76.9%, 0%, 22%)
CIE-LABlab(31.01, 51.01, -77.89)
CIE-LCHlch(31.01, 93.10, 303.22°)
OKLaboklab(42.72% 0.0062 -0.2255)
OKLCHoklch(42.72% 0.226 271.6)
XYZxyz(12.4090, 6.6570, 54.6527)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EC7 #C7C72E
analogous
#2E7AC7 #2E2EC7 #7A2EC7
triadic
#2E2EC7 #C72E2E #2EC72E
tetradic
#2E2EC7 #C72E7A #C7C72E #2EC77A
square
#2E2EC7 #C72E7A #C7C72E #2EC77A
split-complementary
#2E2EC7 #C77A2E #7AC72E
monochromatic
#171764 #232395 #2E2EC7 #5959D9 #8B8BE4

Accessibility & contrast

On white

9.01
#2E2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EC7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EC7#FFFFFF#000000##FFFFFF
##2E2EC71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e2ec7;
/* rgb */ color: rgb(46, 46, 199);
/* oklch */ color: oklch(42.7% 0.226 271.6);
Tailwind
colors: {
  custom: {
    50: '#8169d9',
    500: '#2e2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ec7;
$custom-light: #8169d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ec7",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 240,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.22558,
    "h": 271.6
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#2E2EC7
secondary
#CECE83
accent
#E642E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2E2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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