#2E2379#2E2379

#2E2379 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.139 H 281.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2E2379
RGBrgb(46, 35, 121)
HSLhsl(248, 55%, 31%)
HSVhsv(248, 71%, 47%)
CMYKcmyk(62%, 71.1%, 0%, 52.5%)
CIE-LABlab(20.69, 31.42, -47.37)
CIE-LCHlch(20.69, 56.84, 303.55°)
OKLaboklab(32.97% 0.0274 -0.1364)
OKLCHoklch(32.97% 0.139 281.4)
XYZxyz(5.1779, 3.1630, 18.4231)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2379 #6E7923
analogous
#234379 #2E2379 #592379
triadic
#2E2379 #792E23 #23792E
tetradic
#2E2379 #792343 #6E7923 #237959
square
#2E2379 #792343 #6E7923 #237959
split-complementary
#2E2379 #795923 #437923
monochromatic
#0A081A #1C154A #2E2379 #4031A8 #5C4BCB

Accessibility & contrast

On white

12.86
#2E2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2379
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2379#FFFFFF#000000##FFFFFF
##2E23791.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2379;
/* rgb */ color: rgb(46, 35, 121);
/* oklch */ color: oklch(33.0% 0.139 281.4);
Tailwind
colors: {
  custom: {
    50: '#705fa1',
    500: '#2e2379',
    950: '#000000',
  },
}
SCSS
$custom: #2e2379;
$custom-light: #705fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2379",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 247.674,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.13917,
    "h": 281.4
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#2E2379
secondary
#9FAC4C
accent
#DE49CB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2E2379

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

Preview Lab → · Contrast checker → · Palette generator →

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