#2E415E#2E415E

#2E415E is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.3% C 0.056 H 258.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E415E
RGBrgb(46, 65, 94)
HSLhsl(216, 34%, 27%)
HSVhsv(216, 51%, 37%)
CMYKcmyk(51.1%, 30.9%, 0%, 63.1%)
CIE-LABlab(27.21, 1.55, -19.54)
CIE-LCHlch(27.21, 19.60, 274.53°)
OKLaboklab(37.28% -0.011 -0.0547)
OKLCHoklch(37.28% 0.056 258.6)
XYZxyz(5.0367, 5.1693, 11.3199)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E415E #5E4B2E
analogous
#2E595E #2E415E #332E5E
triadic
#2E415E #5E2E41 #415E2E
tetradic
#2E415E #5E2E59 #5E4B2E #2E5E33
square
#2E415E #5E2E59 #5E4B2E #2E5E33
split-complementary
#2E415E #5E332E #595E2E
monochromatic
#0A0E15 #1A2535 #2E415E #425D87 #597AAE

Accessibility & contrast

On white

10.32
#2E415E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E415E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E415E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E415E#FFFFFF#000000##FFFFFF
##2E415E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36435F
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#1A474B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e415e;
/* rgb */ color: rgb(46, 65, 94);
/* oklch */ color: oklch(37.3% 0.056 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a758b',
    500: '#2e415e',
    950: '#000000',
  },
}
SCSS
$custom: #2e415e;
$custom-light: #6a758b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e415e",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 94
  },
  "hsl": {
    "h": 216.25,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.05582,
    "h": 258.6
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2E415E
secondary
#907A58
accent
#9F5DCA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2E415E

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

Preview Lab → · Contrast checker → · Palette generator →

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