#2E2373#2E2373

#2E2373 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.131 H 282.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2E2373
RGBrgb(46, 35, 115)
HSLhsl(248, 53%, 29%)
HSVhsv(248, 70%, 45%)
CMYKcmyk(60%, 69.6%, 0%, 54.9%)
CIE-LABlab(20.13, 29.38, -44.44)
CIE-LCHlch(20.13, 53.27, 303.46°)
OKLaboklab(32.39% 0.0284 -0.1278)
OKLCHoklch(32.39% 0.131 282.5)
XYZxyz(4.8213, 3.0204, 16.5453)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2373 #687323
analogous
#234073 #2E2373 #562373
triadic
#2E2373 #732E23 #23732E
tetradic
#2E2373 #732340 #687323 #237356
square
#2E2373 #732340 #687323 #237356
split-complementary
#2E2373 #735623 #407323
monochromatic
#090717 #1B1544 #2E2373 #4131A2 #5A49C8

Accessibility & contrast

On white

13.09
#2E2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2373
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2373#FFFFFF#000000##FFFFFF
##2E23731.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#083747
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2373;
/* rgb */ color: rgb(46, 35, 115);
/* oklch */ color: oklch(32.4% 0.131 282.5);
Tailwind
colors: {
  custom: {
    50: '#6f5f9c',
    500: '#2e2373',
    950: '#000000',
  },
}
SCSS
$custom: #2e2373;
$custom-light: #6f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2373",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 248.25,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.13096,
    "h": 282.5
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#2E2373
secondary
#9AA64C
accent
#DD4BC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2373

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

Preview Lab → · Contrast checker → · Palette generator →

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