#2E2382#2E2382

#2E2382 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.151 H 279.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2E2382
RGBrgb(46, 35, 130)
HSLhsl(247, 58%, 32%)
HSVhsv(247, 73%, 51%)
CMYKcmyk(64.6%, 73.1%, 0%, 49%)
CIE-LABlab(21.56, 34.46, -51.65)
CIE-LCHlch(21.56, 62.09, 303.71°)
OKLaboklab(33.86% 0.0258 -0.149)
OKLCHoklch(33.86% 0.151 279.8)
XYZxyz(5.7557, 3.3942, 21.4666)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2382 #778223
analogous
#234882 #2E2382 #5D2382
triadic
#2E2382 #822E23 #23822E
tetradic
#2E2382 #822348 #778223 #23825D
square
#2E2382 #822348 #778223 #23825D
split-complementary
#2E2382 #825D23 #488223
monochromatic
#0C0922 #1D1652 #2E2382 #3F30B2 #5E50D0

Accessibility & contrast

On white

12.51
#2E2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2382
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2382#FFFFFF#000000##FFFFFF
##2E23821.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2382;
/* rgb */ color: rgb(46, 35, 130);
/* oklch */ color: oklch(33.9% 0.151 279.8);
Tailwind
colors: {
  custom: {
    50: '#725fa7',
    500: '#2e2382',
    950: '#000000',
  },
}
SCSS
$custom: #2e2382;
$custom-light: #725fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2382",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 246.947,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.15119,
    "h": 279.8
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#2E2382
secondary
#A8B34D
accent
#E147CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2382

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

Preview Lab → · Contrast checker → · Palette generator →

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