#2E2B82#2E2B82

#2E2B82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.141 H 277.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2B82
RGBrgb(46, 43, 130)
HSLhsl(242, 50%, 34%)
HSVhsv(242, 67%, 51%)
CMYKcmyk(64.6%, 66.9%, 0%, 49%)
CIE-LABlab(23.40, 29.44, -48.62)
CIE-LCHlch(23.40, 56.84, 301.20°)
OKLaboklab(35.19% 0.0192 -0.1401)
OKLCHoklch(35.19% 0.141 277.8)
XYZxyz(6.0186, 3.9198, 21.5542)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B82 #7F822B
analogous
#2B5482 #2E2B82 #5A2B82
triadic
#2E2B82 #822E2B #2B822E
tetradic
#2E2B82 #822B54 #7F822B #2B825A
square
#2E2B82 #822B54 #7F822B #2B825A
split-complementary
#2E2B82 #825A2B #54822B
monochromatic
#0D0D26 #1E1C54 #2E2B82 #3E3AB0 #615ECA

Accessibility & contrast

On white

11.77
#2E2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B82
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B82#FFFFFF#000000##FFFFFF
##2E2B821.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2b82;
/* rgb */ color: rgb(46, 43, 130);
/* oklch */ color: oklch(35.2% 0.141 277.8);
Tailwind
colors: {
  custom: {
    50: '#7165a7',
    500: '#2e2b82',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b82;
$custom-light: #7165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b82",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 242.069,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.14142,
    "h": 277.8
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#2E2B82
secondary
#ADB059
accent
#DA4ED5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2E2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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