#2E2D64#2E2D64

#2E2D64 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.094 H 280.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2E2D64
RGBrgb(46, 45, 100)
HSLhsl(241, 38%, 28%)
HSVhsv(241, 55%, 39%)
CMYKcmyk(54%, 55%, 0%, 60.8%)
CIE-LABlab(21.50, 17.43, -32.49)
CIE-LCHlch(21.50, 36.87, 298.21°)
OKLaboklab(33.02% 0.0176 -0.0927)
OKLCHoklch(33.02% 0.094 280.7)
XYZxyz(4.3646, 3.3775, 12.4761)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D64 #63642D
analogous
#2D4764 #2E2D64 #492D64
triadic
#2E2D64 #642E2D #2D642E
tetradic
#2E2D64 #642D47 #63642D #2D6449
square
#2E2D64 #642D47 #63642D #2D6449
split-complementary
#2E2D64 #64492D #47642D
monochromatic
#0A0915 #1B1A3A #2E2D64 #41408E #5958B4

Accessibility & contrast

On white

12.53
#2E2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D64
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D64#FFFFFF#000000##FFFFFF
##2E2D641.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113666
Deuteranopia (green-blind)
#0C3263
Tritanopia (blue-blind)
#193944
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2d64;
/* rgb */ color: rgb(46, 45, 100);
/* oklch */ color: oklch(33.0% 0.094 280.7);
Tailwind
colors: {
  custom: {
    50: '#6b6590',
    500: '#2e2d64',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d64;
$custom-light: #6b6590;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d64",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 241.091,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33017,
    "c": 0.09432,
    "h": 280.7
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#2E2D64
secondary
#959657
accent
#CE5ACC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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