#2E2E9E#2E2E9E

#2E2E9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.175 H 274.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E2E9E
RGBrgb(46, 46, 158)
HSLhsl(240, 55%, 40%)
HSVhsv(240, 71%, 62%)
CMYKcmyk(70.9%, 70.9%, 0%, 38%)
CIE-LABlab(26.74, 37.35, -60.47)
CIE-LCHlch(26.74, 71.08, 301.70°)
OKLaboklab(38.41% 0.0134 -0.1748)
OKLCHoklch(38.41% 0.175 274.4)
XYZxyz(8.2732, 5.0027, 32.8707)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E9E #9E9E2E
analogous
#2E669E #2E2E9E #662E9E
triadic
#2E2E9E #9E2E2E #2E9E2E
tetradic
#2E2E9E #9E2E66 #9E9E2E #2E9E66
square
#2E2E9E #9E2E66 #9E9E2E #2E9E66
split-complementary
#2E2E9E #9E662E #669E2E
monochromatic
#12123F #20206F #2E2E9E #4141C8 #7171D6

Accessibility & contrast

On white

10.50
#2E2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E2E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E9E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E9E#FFFFFF#000000##FFFFFF
##2E2E9E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2e9e;
/* rgb */ color: rgb(46, 46, 158);
/* oklch */ color: oklch(38.4% 0.175 274.4);
Tailwind
colors: {
  custom: {
    50: '#7768bc',
    500: '#2e2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e9e;
$custom-light: #7768bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e9e",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.1753,
    "h": 274.4
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#2E2E9E
secondary
#BDBD6B
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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