#2E2EC8#2E2EC8

#2E2EC8 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.227 H 271.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E2EC8
RGBrgb(46, 46, 200)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 77%, 78%)
CMYKcmyk(77%, 77%, 0%, 21.6%)
CIE-LABlab(31.12, 51.33, -78.29)
CIE-LCHlch(31.12, 93.62, 303.25°)
OKLaboklab(42.83% 0.006 -0.2267)
OKLCHoklch(42.83% 0.227 271.5)
XYZxyz(12.5255, 6.7036, 55.2662)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EC8 #C8C82E
analogous
#2E7BC8 #2E2EC8 #7B2EC8
triadic
#2E2EC8 #C82E2E #2EC82E
tetradic
#2E2EC8 #C82E7B #C8C82E #2EC87B
square
#2E2EC8 #C82E7B #C8C82E #2EC87B
split-complementary
#2E2EC8 #C87B2E #7BC82E
monochromatic
#171764 #232396 #2E2EC8 #5A5AD9 #8C8CE5

Accessibility & contrast

On white

8.97
#2E2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E2EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2EC8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EC8#FFFFFF#000000##FFFFFF
##2E2EC81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CC
Deuteranopia (green-blind)
#0041C5
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e2ec8;
/* rgb */ color: rgb(46, 46, 200);
/* oklch */ color: oklch(42.8% 0.227 271.5);
Tailwind
colors: {
  custom: {
    50: '#8169da',
    500: '#2e2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ec8;
$custom-light: #8169da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ec8",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.22674,
    "h": 271.5
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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