#2E2FCF#2E2FCF

#2E2FCF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.234 H 271.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2FCF
RGBrgb(46, 47, 207)
HSLhsl(240, 64%, 50%)
HSVhsv(240, 78%, 81%)
CMYKcmyk(77.8%, 77.3%, 0%, 18.8%)
CIE-LABlab(32.07, 53.03, -80.80)
CIE-LCHlch(32.07, 96.65, 303.28°)
OKLaboklab(43.72% 0.0043 -0.2339)
OKLCHoklch(43.72% 0.234 271.1)
XYZxyz(13.4019, 7.1174, 59.6868)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FCF #CFCE2E
analogous
#2E80CF #2E2FCF #7D2ECF
triadic
#2E2FCF #CF2E2F #2FCF2E
tetradic
#2E2FCF #CF2E80 #CFCE2E #2ECF7D
square
#2E2FCF #CF2E80 #CFCE2E #2ECF7D
split-complementary
#2E2FCF #CF7D2E #80CF2E
monochromatic
#18186B #23249D #2E2FCF #5F60DB #9191E7

Accessibility & contrast

On white

8.66
#2E2FCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E2FCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FCF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FCF#FFFFFF#000000##FFFFFF
##2E2FCF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D4
Deuteranopia (green-blind)
#0043CC
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e2fcf;
/* rgb */ color: rgb(46, 47, 207);
/* oklch */ color: oklch(43.7% 0.234 271.1);
Tailwind
colors: {
  custom: {
    50: '#836adf',
    500: '#2e2fcf',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fcf;
$custom-light: #836adf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fcf",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 239.627,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.23399,
    "h": 271.1
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#2E2FCF
secondary
#D1D188
accent
#E641E7
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2E2FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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