#2E2FC8#2E2FC8

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

Color values

HEX#2E2FC8
RGBrgb(46, 47, 200)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 77%, 78%)
CMYKcmyk(77%, 76.5%, 0%, 21.6%)
CIE-LABlab(31.31, 50.80, -77.99)
CIE-LCHlch(31.31, 93.07, 303.08°)
OKLaboklab(42.96% 0.0057 -0.2258)
OKLCHoklch(42.96% 0.226 271.4)
XYZxyz(12.5650, 6.7826, 55.2793)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FC8 #C8C72E
analogous
#2E7CC8 #2E2FC8 #7A2EC8
triadic
#2E2FC8 #C82E2F #2FC82E
tetradic
#2E2FC8 #C82E7C #C8C72E #2EC87A
square
#2E2FC8 #C82E7C #C8C72E #2EC87A
split-complementary
#2E2FC8 #C87A2E #7CC82E
monochromatic
#171864 #232396 #2E2FC8 #5A5BD9 #8C8CE5

Accessibility & contrast

On white

8.91
#2E2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2FC8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FC8#FFFFFF#000000##FFFFFF
##2E2FC81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CC
Deuteranopia (green-blind)
#0042C5
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e2fc8;
/* rgb */ color: rgb(46, 47, 200);
/* oklch */ color: oklch(43.0% 0.226 271.4);
Tailwind
colors: {
  custom: {
    50: '#816ada',
    500: '#2e2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fc8;
$custom-light: #816ada;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fc8",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 239.61,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.22586,
    "h": 271.4
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#2E2FC8
secondary
#CFCE83
accent
#E542E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2E2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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