#2E2483#2E2483

#2E2483 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.151 H 279.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#2E2483
RGBrgb(46, 36, 131)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 73%, 51%)
CMYKcmyk(64.9%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.87, 34.19, -51.76)
CIE-LCHlch(21.87, 62.03, 303.45°)
OKLaboklab(34.12% 0.0249 -0.1493)
OKLCHoklch(34.12% 0.151 279.4)
XYZxyz(5.8530, 3.4808, 21.8318)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2483 #798324
analogous
#244983 #2E2483 #5E2483
triadic
#2E2483 #832E24 #24832E
tetradic
#2E2483 #832449 #798324 #24835E
square
#2E2483 #832449 #798324 #24835E
split-complementary
#2E2483 #835E24 #498324
monochromatic
#0C0A23 #1D1753 #2E2483 #3F31B3 #5F52CF

Accessibility & contrast

On white

12.38
#2E2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2483
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2483#FFFFFF#000000##FFFFFF
##2E24831.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2483;
/* rgb */ color: rgb(46, 36, 131);
/* oklch */ color: oklch(34.1% 0.151 279.4);
Tailwind
colors: {
  custom: {
    50: '#7260a8',
    500: '#2e2483',
    950: '#000000',
  },
}
SCSS
$custom: #2e2483;
$custom-light: #7260a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2483",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 246.316,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.15135,
    "h": 279.4
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#2E2483
secondary
#A9B34F
accent
#E048D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2483

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

Preview Lab → · Contrast checker → · Palette generator →

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