#2E295E#2E295E

#2E295E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.091 H 284.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2E295E
RGBrgb(46, 41, 94)
HSLhsl(246, 39%, 26%)
HSVhsv(246, 56%, 37%)
CMYKcmyk(51.1%, 56.4%, 0%, 63.1%)
CIE-LABlab(19.94, 18.11, -31.05)
CIE-LCHlch(19.94, 35.95, 300.26°)
OKLaboklab(31.72% 0.0224 -0.0885)
OKLCHoklch(31.72% 0.091 284.2)
XYZxyz(3.9394, 2.9747, 10.9541)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E295E #595E29
analogous
#293F5E #2E295E #49295E
triadic
#2E295E #5E2E29 #295E2E
tetradic
#2E295E #5E293F #595E29 #295E49
square
#2E295E #5E293F #595E29 #295E49
split-complementary
#2E295E #5E4929 #3F5E29
monochromatic
#0A0915 #191633 #2E295E #433C89 #584FB2

Accessibility & contrast

On white

13.17
#2E295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E295E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E295E#FFFFFF#000000##FFFFFF
##2E295E1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#0C2F5D
Tritanopia (blue-blind)
#1D353F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e295e;
/* rgb */ color: rgb(46, 41, 94);
/* oklch */ color: oklch(31.7% 0.091 284.2);
Tailwind
colors: {
  custom: {
    50: '#6b628c',
    500: '#2e295e',
    950: '#000000',
  },
}
SCSS
$custom: #2e295e;
$custom-light: #6b628c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e295e",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 245.66,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31715,
    "c": 0.09124,
    "h": 284.2
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#2E295E
secondary
#8B9152
accent
#CF59C4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E295E

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

Preview Lab → · Contrast checker → · Palette generator →

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