#2E2D80#2E2D80

#2E2D80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.136 H 277.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2D80
RGBrgb(46, 45, 128)
HSLhsl(241, 48%, 34%)
HSVhsv(241, 65%, 50%)
CMYKcmyk(64.1%, 64.8%, 0%, 49.8%)
CIE-LABlab(23.72, 27.42, -46.84)
CIE-LCHlch(23.72, 54.28, 300.35°)
OKLaboklab(35.37% 0.0175 -0.1349)
OKLCHoklch(35.37% 0.136 277.4)
XYZxyz(5.9601, 4.0157, 20.8789)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D80 #7F802D
analogous
#2D5680 #2E2D80 #582D80
triadic
#2E2D80 #802E2D #2D802E
tetradic
#2E2D80 #802D56 #7F802D #2D8058
square
#2E2D80 #802D56 #7F802D #2D8058
split-complementary
#2E2D80 #80582D #56802D
monochromatic
#0D0D25 #1E1D53 #2E2D80 #3E3DAD #6160C7

Accessibility & contrast

On white

11.65
#2E2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D80
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D80#FFFFFF#000000##FFFFFF
##2E2D801.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2d80;
/* rgb */ color: rgb(46, 45, 128);
/* oklch */ color: oklch(35.4% 0.136 277.4);
Tailwind
colors: {
  custom: {
    50: '#7166a6',
    500: '#2e2d80',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d80;
$custom-light: #7166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d80",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 240.723,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.136,
    "h": 277.4
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#2E2D80
secondary
#ADAE5B
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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