#2E295C#2E295C

#2E295C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.088 H 284.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#2E295C
RGBrgb(46, 41, 92)
HSLhsl(246, 38%, 26%)
HSVhsv(246, 55%, 36%)
CMYKcmyk(50%, 55.4%, 0%, 63.9%)
CIE-LABlab(19.80, 17.42, -29.96)
CIE-LCHlch(19.80, 34.65, 300.18°)
OKLaboklab(31.56% 0.0222 -0.0853)
OKLCHoklch(31.56% 0.088 284.6)
XYZxyz(3.8509, 2.9393, 10.4876)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E295C #575C29
analogous
#293D5C #2E295C #47295C
triadic
#2E295C #5C2E29 #295C2E
tetradic
#2E295C #5C293D #575C29 #295C47
square
#2E295C #5C293D #575C29 #295C47
split-complementary
#2E295C #5C4729 #3D5C29
monochromatic
#0B0915 #191632 #2E295C #433C86 #584FB1

Accessibility & contrast

On white

13.23
#2E295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E295C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E295C#FFFFFF#000000##FFFFFF
##2E295C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#0F2E5B
Tritanopia (blue-blind)
#1F343E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e295c;
/* rgb */ color: rgb(46, 41, 92);
/* oklch */ color: oklch(31.6% 0.088 284.6);
Tailwind
colors: {
  custom: {
    50: '#6a628a',
    500: '#2e295c',
    950: '#000000',
  },
}
SCSS
$custom: #2e295c;
$custom-light: #6a628a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e295c",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 245.882,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31562,
    "c": 0.0881,
    "h": 284.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#2E295C
secondary
#898F52
accent
#CE5AC3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E295C

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

Preview Lab → · Contrast checker → · Palette generator →

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