#2E2C6A#2E2C6A

#2E2C6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.105 H 280.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2C6A
RGBrgb(46, 44, 106)
HSLhsl(242, 41%, 29%)
HSVhsv(242, 58%, 42%)
CMYKcmyk(56.6%, 58.5%, 0%, 58.4%)
CIE-LABlab(21.66, 20.24, -36.13)
CIE-LCHlch(21.66, 41.41, 299.26°)
OKLaboklab(33.28% 0.0191 -0.1034)
OKLCHoklch(33.28% 0.105 280.5)
XYZxyz(4.6281, 3.4225, 14.0496)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C6A #686A2C
analogous
#2C496A #2E2C6A #4D2C6A
triadic
#2E2C6A #6A2E2C #2C6A2E
tetradic
#2E2C6A #6A2C49 #686A2C #2C6A4D
square
#2E2C6A #6A2C49 #686A2C #2C6A4D
split-complementary
#2E2C6A #6A4D2C #496A2C
monochromatic
#090916 #1B1A3F #2E2C6A #413E95 #5A57B9

Accessibility & contrast

On white

12.47
#2E2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C6A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C6A#FFFFFF#000000##FFFFFF
##2E2C6A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#133A46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2c6a;
/* rgb */ color: rgb(46, 44, 106);
/* oklch */ color: oklch(33.3% 0.105 280.5);
Tailwind
colors: {
  custom: {
    50: '#6c6595',
    500: '#2e2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c6a;
$custom-light: #6c6595;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c6a",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 241.935,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33283,
    "c": 0.10513,
    "h": 280.5
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#2E2C6A
secondary
#9A9C56
accent
#D157CD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2E2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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