#2E2476#2E2476

#2E2476 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.134 H 281.6°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2476
RGBrgb(46, 36, 118)
HSLhsl(247, 53%, 30%)
HSVhsv(247, 69%, 46%)
CMYKcmyk(61%, 69.5%, 0%, 53.7%)
CIE-LABlab(20.64, 29.76, -45.53)
CIE-LCHlch(20.64, 54.40, 303.17°)
OKLaboklab(32.85% 0.027 -0.131)
OKLCHoklch(32.85% 0.134 281.6)
XYZxyz(5.0266, 3.1503, 17.4792)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2476 #6C7624
analogous
#244376 #2E2476 #572476
triadic
#2E2476 #762E24 #24762E
tetradic
#2E2476 #762443 #6C7624 #247657
square
#2E2476 #762443 #6C7624 #247657
split-complementary
#2E2476 #765724 #437624
monochromatic
#090718 #1C1647 #2E2476 #4032A5 #5B4CC8

Accessibility & contrast

On white

12.88
#2E2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2476
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2476#FFFFFF#000000##FFFFFF
##2E24761.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#023949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2476;
/* rgb */ color: rgb(46, 36, 118);
/* oklch */ color: oklch(32.8% 0.134 281.6);
Tailwind
colors: {
  custom: {
    50: '#6f5f9e',
    500: '#2e2476',
    950: '#000000',
  },
}
SCSS
$custom: #2e2476;
$custom-light: #6f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2476",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 247.317,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.1338,
    "h": 281.6
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#2E2476
secondary
#9EA94D
accent
#DD4BCB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2476

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

Preview Lab → · Contrast checker → · Palette generator →

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