#2E2383#2E2383

#2E2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.153 H 279.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2383
RGBrgb(46, 35, 131)
HSLhsl(247, 58%, 33%)
HSVhsv(247, 73%, 51%)
CMYKcmyk(64.9%, 73.3%, 0%, 48.6%)
CIE-LABlab(21.66, 34.79, -52.12)
CIE-LCHlch(21.66, 62.66, 303.73°)
OKLaboklab(33.96% 0.0256 -0.1503)
OKLCHoklch(33.96% 0.153 279.7)
XYZxyz(5.8232, 3.4212, 21.8218)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2383 #788323
analogous
#234883 #2E2383 #5E2383
triadic
#2E2383 #832E23 #23832E
tetradic
#2E2383 #832348 #788323 #23835E
square
#2E2383 #832348 #788323 #23835E
split-complementary
#2E2383 #835E23 #488323
monochromatic
#0C0922 #1D1653 #2E2383 #3F30B3 #5F50D0

Accessibility & contrast

On white

12.47
#2E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2383
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2383#FFFFFF#000000##FFFFFF
##2E23831.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2383;
/* rgb */ color: rgb(46, 35, 131);
/* oklch */ color: oklch(34.0% 0.153 279.7);
Tailwind
colors: {
  custom: {
    50: '#725fa8',
    500: '#2e2383',
    950: '#000000',
  },
}
SCSS
$custom: #2e2383;
$custom-light: #725fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2383",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 246.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.15251,
    "h": 279.7
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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