#2E2380#2E2380

#2E2380 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.149 H 280.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2E2380
RGBrgb(46, 35, 128)
HSLhsl(247, 57%, 32%)
HSVhsv(247, 73%, 50%)
CMYKcmyk(64.1%, 72.7%, 0%, 49.8%)
CIE-LABlab(21.36, 33.79, -50.71)
CIE-LCHlch(21.36, 60.93, 303.67°)
OKLaboklab(33.66% 0.0262 -0.1462)
OKLCHoklch(33.66% 0.149 280.2)
XYZxyz(5.6228, 3.3410, 20.7665)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2380 #758023
analogous
#234780 #2E2380 #5D2380
triadic
#2E2380 #802E23 #23802E
tetradic
#2E2380 #802347 #758023 #23805D
square
#2E2380 #802347 #758023 #23805D
split-complementary
#2E2380 #805D23 #478023
monochromatic
#0B0920 #1D1650 #2E2380 #3F30B0 #5E4FCF

Accessibility & contrast

On white

12.59
#2E2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2380
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2380#FFFFFF#000000##FFFFFF
##2E23801.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2380;
/* rgb */ color: rgb(46, 35, 128);
/* oklch */ color: oklch(33.7% 0.149 280.2);
Tailwind
colors: {
  custom: {
    50: '#725fa6',
    500: '#2e2380',
    950: '#000000',
  },
}
SCSS
$custom: #2e2380;
$custom-light: #725fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2380",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 247.097,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.14855,
    "h": 280.2
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#2E2380
secondary
#A6B24D
accent
#E047CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #2E2380

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

Preview Lab → · Contrast checker → · Palette generator →

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