#2E2983#2E2983

#2E2983 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.145 H 278.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2983
RGBrgb(46, 41, 131)
HSLhsl(243, 52%, 34%)
HSVhsv(243, 69%, 51%)
CMYKcmyk(64.9%, 68.7%, 0%, 48.6%)
CIE-LABlab(23.02, 31.08, -49.89)
CIE-LCHlch(23.02, 58.78, 301.92°)
OKLaboklab(34.94% 0.0208 -0.1438)
OKLCHoklch(34.94% 0.145 278.2)
XYZxyz(6.0151, 3.8049, 21.8858)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2983 #7E8329
analogous
#295183 #2E2983 #5B2983
triadic
#2E2983 #832E29 #29832E
tetradic
#2E2983 #832951 #7E8329 #29835B
square
#2E2983 #832951 #7E8329 #29835B
split-complementary
#2E2983 #835B29 #518329
monochromatic
#0D0C26 #1E1A54 #2E2983 #3E38B2 #615BCC

Accessibility & contrast

On white

11.93
#2E2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2983
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2983#FFFFFF#000000##FFFFFF
##2E29831.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2983;
/* rgb */ color: rgb(46, 41, 131);
/* oklch */ color: oklch(34.9% 0.145 278.2);
Tailwind
colors: {
  custom: {
    50: '#7263a8',
    500: '#2e2983',
    950: '#000000',
  },
}
SCSS
$custom: #2e2983;
$custom-light: #7263a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2983",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 243.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.14531,
    "h": 278.2
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#2E2983
secondary
#ACB157
accent
#DC4CD4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E2983

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

Preview Lab → · Contrast checker → · Palette generator →

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