#2E2482#2E2482

#2E2482 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.150 H 279.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2E2482
RGBrgb(46, 36, 130)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 72%, 51%)
CMYKcmyk(64.6%, 72.3%, 0%, 49%)
CIE-LABlab(21.78, 33.85, -51.29)
CIE-LCHlch(21.78, 61.45, 303.43°)
OKLaboklab(34.02% 0.025 -0.1479)
OKLCHoklch(34.02% 0.15 279.6)
XYZxyz(5.7856, 3.4539, 21.4765)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2482 #788224
analogous
#244982 #2E2482 #5D2482
triadic
#2E2482 #822E24 #24822E
tetradic
#2E2482 #822449 #788224 #24825D
square
#2E2482 #822449 #788224 #24825D
split-complementary
#2E2482 #825D24 #498224
monochromatic
#0C0922 #1D1752 #2E2482 #3F31B2 #5F51CF

Accessibility & contrast

On white

12.42
#2E2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2482
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2482#FFFFFF#000000##FFFFFF
##2E24821.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2482;
/* rgb */ color: rgb(46, 36, 130);
/* oklch */ color: oklch(34.0% 0.150 279.6);
Tailwind
colors: {
  custom: {
    50: '#7260a7',
    500: '#2e2482',
    950: '#000000',
  },
}
SCSS
$custom: #2e2482;
$custom-light: #7260a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2482",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 246.383,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34017,
    "c": 0.15002,
    "h": 279.6
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2482

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

Preview Lab → · Contrast checker → · Palette generator →

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