#2E2FD7#2E2FD7

#2E2FD7 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.6% C 0.243 H 270.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2FD7
RGBrgb(46, 47, 215)
HSLhsl(240, 68%, 51%)
HSVhsv(240, 79%, 84%)
CMYKcmyk(78.6%, 78.1%, 0%, 15.7%)
CIE-LABlab(32.96, 55.55, -83.96)
CIE-LCHlch(32.96, 100.67, 303.49°)
OKLaboklab(44.6% 0.0028 -0.2431)
OKLCHoklch(44.6% 0.243 270.7)
XYZxyz(14.4048, 7.5185, 64.9688)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FD7 #D7D62E
analogous
#2E83D7 #2E2FD7 #812ED7
triadic
#2E2FD7 #D72E2F #2FD72E
tetradic
#2E2FD7 #D72E83 #D7D62E #2ED781
square
#2E2FD7 #D72E83 #D7D62E #2ED781
split-complementary
#2E2FD7 #D7812E #83D72E
monochromatic
#161774 #2021A8 #2E2FD7 #6162E1 #9595EB

Accessibility & contrast

On white

8.39
#2E2FD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E2FD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FD7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FD7#FFFFFF#000000##FFFFFF
##2E2FD71.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DC
Deuteranopia (green-blind)
#0045D4
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e2fd7;
/* rgb */ color: rgb(46, 47, 215);
/* oklch */ color: oklch(44.6% 0.243 270.7);
Tailwind
colors: {
  custom: {
    50: '#856be5',
    500: '#2e2fd7',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fd7;
$custom-light: #856be5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fd7",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 215
  },
  "hsl": {
    "h": 239.645,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.446,
    "c": 0.24314,
    "h": 270.7
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#2E2FD7
secondary
#D6D58B
accent
#EA3DEB
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E2FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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