#2E2EC9#2E2EC9

#2E2EC9 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.228 H 271.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2EC9
RGBrgb(46, 46, 201)
HSLhsl(240, 63%, 48%)
HSVhsv(240, 77%, 79%)
CMYKcmyk(77.1%, 77.1%, 0%, 21.2%)
CIE-LABlab(31.23, 51.65, -78.70)
CIE-LCHlch(31.23, 94.13, 303.28°)
OKLaboklab(42.94% 0.0058 -0.2278)
OKLCHoklch(42.94% 0.228 271.5)
XYZxyz(12.6428, 6.7505, 55.8837)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2EC9 #C9C92E
analogous
#2E7BC9 #2E2EC9 #7B2EC9
triadic
#2E2EC9 #C92E2E #2EC92E
tetradic
#2E2EC9 #C92E7B #C9C92E #2EC97B
square
#2E2EC9 #C92E7B #C9C92E #2EC97B
split-complementary
#2E2EC9 #C97B2E #7BC92E
monochromatic
#171765 #232397 #2E2EC9 #5B5BD9 #8D8DE5

Accessibility & contrast

On white

8.93
#2E2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2EC9
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2EC9#FFFFFF#000000##FFFFFF
##2E2EC91.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0042C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e2ec9;
/* rgb */ color: rgb(46, 46, 201);
/* oklch */ color: oklch(42.9% 0.228 271.5);
Tailwind
colors: {
  custom: {
    50: '#816adb',
    500: '#2e2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ec9;
$custom-light: #816adb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ec9",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.2279,
    "h": 271.5
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#2E2EC9
secondary
#CFCF84
accent
#E642E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2E2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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