#2E2FC7#2E2FC7

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

Color values

HEX#2E2FC7
RGBrgb(46, 47, 199)
HSLhsl(240, 62%, 48%)
HSVhsv(240, 77%, 78%)
CMYKcmyk(76.9%, 76.4%, 0%, 22%)
CIE-LABlab(31.20, 50.48, -77.58)
CIE-LCHlch(31.20, 92.56, 303.05°)
OKLaboklab(42.85% 0.0059 -0.2246)
OKLCHoklch(42.85% 0.225 271.5)
XYZxyz(12.4485, 6.7360, 54.6659)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FC7 #C7C62E
analogous
#2E7BC7 #2E2FC7 #792EC7
triadic
#2E2FC7 #C72E2F #2FC72E
tetradic
#2E2FC7 #C72E7B #C7C62E #2EC779
square
#2E2FC7 #C72E7B #C7C62E #2EC779
split-complementary
#2E2FC7 #C7792E #7BC72E
monochromatic
#171864 #232395 #2E2FC7 #595AD9 #8B8CE4

Accessibility & contrast

On white

8.95
#2E2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E2FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FC7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FC7#FFFFFF#000000##FFFFFF
##2E2FC71.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2fc7;
/* rgb */ color: rgb(46, 47, 199);
/* oklch */ color: oklch(42.8% 0.225 271.5);
Tailwind
colors: {
  custom: {
    50: '#816ad9',
    500: '#2e2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fc7;
$custom-light: #816ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fc7",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 239.608,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.22469,
    "h": 271.5
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#2E2FC7
secondary
#CECE83
accent
#E442E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2E2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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