#2E2C5E#2E2C5E

#2E2C5E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.086 H 282.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2E2C5E
RGBrgb(46, 44, 94)
HSLhsl(242, 36%, 27%)
HSVhsv(242, 53%, 37%)
CMYKcmyk(51.1%, 53.2%, 0%, 63.1%)
CIE-LABlab(20.79, 16.02, -29.69)
CIE-LCHlch(20.79, 33.74, 298.35°)
OKLaboklab(32.35% 0.0183 -0.0844)
OKLCHoklch(32.35% 0.086 282.2)
XYZxyz(4.0472, 3.1902, 10.9900)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C5E #5C5E2C
analogous
#2C435E #2E2C5E #472C5E
triadic
#2E2C5E #5E2E2C #2C5E2E
tetradic
#2E2C5E #5E2C43 #5C5E2C #2C5E47
square
#2E2C5E #5E2C43 #5C5E2C #2C5E47
split-complementary
#2E2C5E #5E472C #435E2C
monochromatic
#0A0A15 #1A1834 #2E2C5E #424088 #5955AF

Accessibility & contrast

On white

12.82
#2E2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C5E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C5E#FFFFFF#000000##FFFFFF
##2E2C5E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#1D3740
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2c5e;
/* rgb */ color: rgb(46, 44, 94);
/* oklch */ color: oklch(32.4% 0.086 282.2);
Tailwind
colors: {
  custom: {
    50: '#6a658c',
    500: '#2e2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c5e;
$custom-light: #6a658c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c5e",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 242.4,
    "s": 36.232,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32351,
    "c": 0.0864,
    "h": 282.2
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#2E2C5E
secondary
#8E9056
accent
#CC5CC8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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