#2E2283#2E2283

#2E2283 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.154 H 279.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#2E2283
RGBrgb(46, 34, 131)
HSLhsl(247, 59%, 32%)
HSVhsv(247, 74%, 51%)
CMYKcmyk(64.9%, 74%, 0%, 48.6%)
CIE-LABlab(21.44, 35.39, -52.47)
CIE-LCHlch(21.44, 63.29, 304.00°)
OKLaboklab(33.81% 0.0264 -0.1514)
OKLCHoklch(33.81% 0.154 279.9)
XYZxyz(5.7942, 3.3631, 21.8121)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2283 #778322
analogous
#224683 #2E2283 #5F2283
triadic
#2E2283 #832E22 #22832E
tetradic
#2E2283 #832246 #778322 #22835F
square
#2E2283 #832246 #778322 #22835F
split-complementary
#2E2283 #835F22 #468322
monochromatic
#0C0922 #1D1552 #2E2283 #3F2FB4 #5E4ED1

Accessibility & contrast

On white

12.55
#2E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2283
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2283#FFFFFF#000000##FFFFFF
##2E22831.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2283;
/* rgb */ color: rgb(46, 34, 131);
/* oklch */ color: oklch(33.8% 0.154 279.9);
Tailwind
colors: {
  custom: {
    50: '#725fa8',
    500: '#2e2283',
    950: '#000000',
  },
}
SCSS
$custom: #2e2283;
$custom-light: #725fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2283",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 247.423,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33809,
    "c": 0.15364,
    "h": 279.9
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#2E2283
secondary
#A8B44C
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E2283

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

Preview Lab → · Contrast checker → · Palette generator →

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