#2E2C9F#2E2C9F

#2E2C9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.179 H 274.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2C9F
RGBrgb(46, 44, 159)
HSLhsl(241, 57%, 40%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(71.1%, 72.3%, 0%, 37.6%)
CIE-LABlab(26.40, 38.91, -61.64)
CIE-LCHlch(26.40, 72.89, 302.26°)
OKLaboklab(38.2% 0.0144 -0.1782)
OKLCHoklch(38.2% 0.179 274.6)
XYZxyz(8.2833, 4.8846, 33.3005)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C9F #9D9F2C
analogous
#2C649F #2E2C9F #672C9F
triadic
#2E2C9F #9F2E2C #2C9F2E
tetradic
#2E2C9F #9F2C64 #9D9F2C #2C9F67
square
#2E2C9F #9F2C64 #9D9F2C #2C9F67
split-complementary
#2E2C9F #9F672C #649F2C
monochromatic
#12113F #201F6F #2E2C9F #413ECA #706ED7

Accessibility & contrast

On white

10.62
#2E2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C9F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C9F#FFFFFF#000000##FFFFFF
##2E2C9F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2c9f;
/* rgb */ color: rgb(46, 44, 159);
/* oklch */ color: oklch(38.2% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#7866bc',
    500: '#2e2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c9f;
$custom-light: #7866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c9f",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 241.043,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.382,
    "c": 0.17877,
    "h": 274.6
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#2E2C9F
secondary
#BDBE69
accent
#E048DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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