#2E2372#2E2372

#2E2372 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.130 H 282.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2E2372
RGBrgb(46, 35, 114)
HSLhsl(248, 53%, 29%)
HSVhsv(248, 69%, 45%)
CMYKcmyk(59.6%, 69.3%, 0%, 55.3%)
CIE-LABlab(20.03, 29.03, -43.95)
CIE-LCHlch(20.03, 52.67, 303.45°)
OKLaboklab(32.3% 0.0285 -0.1264)
OKLCHoklch(32.3% 0.13 282.7)
XYZxyz(4.7641, 2.9975, 16.2439)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2372 #677223
analogous
#234072 #2E2372 #562372
triadic
#2E2372 #722E23 #23722E
tetradic
#2E2372 #722340 #677223 #237256
square
#2E2372 #722340 #677223 #237256
split-complementary
#2E2372 #725623 #407223
monochromatic
#090717 #1B1543 #2E2372 #4131A1 #5A48C7

Accessibility & contrast

On white

13.13
#2E2372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2372
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2372#FFFFFF#000000##FFFFFF
##2E23721.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#0A3747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2372;
/* rgb */ color: rgb(46, 35, 114);
/* oklch */ color: oklch(32.3% 0.130 282.7);
Tailwind
colors: {
  custom: {
    50: '#6f5f9b',
    500: '#2e2372',
    950: '#000000',
  },
}
SCSS
$custom: #2e2372;
$custom-light: #6f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2372",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 248.354,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.12957,
    "h": 282.7
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#2E2372
secondary
#99A54C
accent
#DC4BC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2372

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

Preview Lab → · Contrast checker → · Palette generator →

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