#2E2FCA#2E2FCA

#2E2FCA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.228 H 271.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2E2FCA
RGBrgb(46, 47, 202)
HSLhsl(240, 63%, 49%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(77.2%, 76.7%, 0%, 20.8%)
CIE-LABlab(31.52, 51.44, -78.79)
CIE-LCHlch(31.52, 94.10, 303.14°)
OKLaboklab(43.17% 0.0053 -0.2281)
OKLCHoklch(43.17% 0.228 271.3)
XYZxyz(12.8003, 6.8767, 56.5184)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FCA #CAC92E
analogous
#2E7DCA #2E2FCA #7B2ECA
triadic
#2E2FCA #CA2E2F #2FCA2E
tetradic
#2E2FCA #CA2E7D #CAC92E #2ECA7B
square
#2E2FCA #CA2E7D #CAC92E #2ECA7B
split-complementary
#2E2FCA #CA7B2E #7DCA2E
monochromatic
#171866 #232398 #2E2FCA #5B5CDA #8D8EE5

Accessibility & contrast

On white

8.84
#2E2FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E2FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FCA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FCA#FFFFFF#000000##FFFFFF
##2E2FCA1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2fca;
/* rgb */ color: rgb(46, 47, 202);
/* oklch */ color: oklch(43.2% 0.228 271.3);
Tailwind
colors: {
  custom: {
    50: '#826adc',
    500: '#2e2fca',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fca;
$custom-light: #826adc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fca",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 239.615,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.22819,
    "h": 271.3
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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