#2E2C9E#2E2C9E

#2E2C9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.177 H 274.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E2C9E
RGBrgb(46, 44, 158)
HSLhsl(241, 56%, 40%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(70.9%, 72.2%, 0%, 38%)
CIE-LABlab(26.30, 38.56, -61.20)
CIE-LCHlch(26.30, 72.33, 302.22°)
OKLaboklab(38.1% 0.0146 -0.1769)
OKLCHoklch(38.1% 0.178 274.7)
XYZxyz(8.1969, 4.8501, 32.8453)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C9E #9C9E2C
analogous
#2C639E #2E2C9E #672C9E
triadic
#2E2C9E #9E2E2C #2C9E2E
tetradic
#2E2C9E #9E2C63 #9C9E2C #2C9E67
square
#2E2C9E #9E2C63 #9C9E2C #2C9E67
split-complementary
#2E2C9E #9E672C #639E2C
monochromatic
#12113E #201F6E #2E2C9E #403EC9 #706ED7

Accessibility & contrast

On white

10.66
#2E2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E2C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C9E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C9E#FFFFFF#000000##FFFFFF
##2E2C9E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2c9e;
/* rgb */ color: rgb(46, 44, 158);
/* oklch */ color: oklch(38.1% 0.177 274.7);
Tailwind
colors: {
  custom: {
    50: '#7766bc',
    500: '#2e2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c9e;
$custom-light: #7766bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c9e",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 241.053,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.1775,
    "h": 274.7
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#2E2C9E
secondary
#BCBE68
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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