#2E2A83#2E2A83

#2E2A83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.144 H 278.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2E2A83
RGBrgb(46, 42, 131)
HSLhsl(243, 51%, 34%)
HSVhsv(243, 68%, 51%)
CMYKcmyk(64.9%, 67.9%, 0%, 48.6%)
CIE-LABlab(23.25, 30.44, -49.50)
CIE-LCHlch(23.25, 58.11, 301.59°)
OKLaboklab(35.11% 0.0199 -0.1427)
OKLCHoklch(35.11% 0.144 278)
XYZxyz(6.0501, 3.8750, 21.8975)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A83 #7F832A
analogous
#2A5383 #2E2A83 #5B2A83
triadic
#2E2A83 #832E2A #2A832E
tetradic
#2E2A83 #832A53 #7F832A #2A835B
square
#2E2A83 #832A53 #7F832A #2A835B
split-complementary
#2E2A83 #835B2A #53832A
monochromatic
#0D0C26 #1E1B55 #2E2A83 #3E39B1 #615DCB

Accessibility & contrast

On white

11.83
#2E2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A83
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A83#FFFFFF#000000##FFFFFF
##2E2A831.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2a83;
/* rgb */ color: rgb(46, 42, 131);
/* oklch */ color: oklch(35.1% 0.144 278.0);
Tailwind
colors: {
  custom: {
    50: '#7264a8',
    500: '#2e2a83',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a83;
$custom-light: #7264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a83",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 242.697,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3511,
    "c": 0.14407,
    "h": 278
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#2E2A83
secondary
#ADB158
accent
#DB4DD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2E2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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