#2E2FC9#2E2FC9

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

Color values

HEX#2E2FC9
RGBrgb(46, 47, 201)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(77.1%, 76.6%, 0%, 21.2%)
CIE-LABlab(31.42, 51.12, -78.39)
CIE-LCHlch(31.42, 93.59, 303.11°)
OKLaboklab(43.07% 0.0055 -0.227)
OKLCHoklch(43.07% 0.227 271.4)
XYZxyz(12.6823, 6.8295, 55.8968)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2FC9 #C9C82E
analogous
#2E7CC9 #2E2FC9 #7A2EC9
triadic
#2E2FC9 #C92E2F #2FC92E
tetradic
#2E2FC9 #C92E7C #C9C82E #2EC97A
square
#2E2FC9 #C92E7C #C9C82E #2EC97A
split-complementary
#2E2FC9 #C97A2E #7CC92E
monochromatic
#171865 #232397 #2E2FC9 #5B5CD9 #8D8DE5

Accessibility & contrast

On white

8.87
#2E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E2FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2FC9
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2FC9#FFFFFF#000000##FFFFFF
##2E2FC91.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e2fc9;
/* rgb */ color: rgb(46, 47, 201);
/* oklch */ color: oklch(43.1% 0.227 271.4);
Tailwind
colors: {
  custom: {
    50: '#816adb',
    500: '#2e2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2fc9;
$custom-light: #816adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2fc9",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 239.613,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.22703,
    "h": 271.4
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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