#2E2ECA#2E2ECA

#2E2ECA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.0% C 0.229 H 271.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E2ECA
RGBrgb(46, 46, 202)
HSLhsl(240, 63%, 49%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(77.2%, 77.2%, 0%, 20.8%)
CIE-LABlab(31.34, 51.97, -79.10)
CIE-LCHlch(31.34, 94.64, 303.30°)
OKLaboklab(43.05% 0.0056 -0.229)
OKLCHoklch(43.05% 0.229 271.4)
XYZxyz(12.7608, 6.7977, 56.5052)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2ECA #CACA2E
analogous
#2E7CCA #2E2ECA #7C2ECA
triadic
#2E2ECA #CA2E2E #2ECA2E
tetradic
#2E2ECA #CA2E7C #CACA2E #2ECA7C
square
#2E2ECA #CA2E7C #CACA2E #2ECA7C
split-complementary
#2E2ECA #CA7C2E #7CCA2E
monochromatic
#171766 #232398 #2E2ECA #5B5BDA #8D8DE5

Accessibility & contrast

On white

8.90
#2E2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2ECA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2ECA#FFFFFF#000000##FFFFFF
##2E2ECA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e2eca;
/* rgb */ color: rgb(46, 46, 202);
/* oklch */ color: oklch(43.0% 0.229 271.4);
Tailwind
colors: {
  custom: {
    50: '#826adc',
    500: '#2e2eca',
    950: '#000000',
  },
}
SCSS
$custom: #2e2eca;
$custom-light: #826adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2eca",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.22907,
    "h": 271.4
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#2E2ECA
secondary
#CFCF84
accent
#E642E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #2E2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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