#2E2E64#2E2E64

#2E2E64 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.093 H 280.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2E2E64
RGBrgb(46, 46, 100)
HSLhsl(240, 37%, 29%)
HSVhsv(240, 54%, 39%)
CMYKcmyk(54%, 54%, 0%, 60.8%)
CIE-LABlab(21.78, 16.73, -32.04)
CIE-LCHlch(21.78, 36.14, 297.58°)
OKLaboklab(33.23% 0.0163 -0.0913)
OKLCHoklch(33.23% 0.093 280.1)
XYZxyz(4.4033, 3.4547, 12.4889)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E64 #64642E
analogous
#2E4964 #2E2E64 #492E64
triadic
#2E2E64 #642E2E #2E642E
tetradic
#2E2E64 #642E49 #64642E #2E6449
square
#2E2E64 #642E49 #64642E #2E6449
split-complementary
#2E2E64 #64492E #49642E
monochromatic
#0A0A15 #1B1B3A #2E2E64 #41418E #5A5AB3

Accessibility & contrast

On white

12.42
#2E2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E64
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E64#FFFFFF#000000##FFFFFF
##2E2E641.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143666
Deuteranopia (green-blind)
#0E3263
Tritanopia (blue-blind)
#183A44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2e64;
/* rgb */ color: rgb(46, 46, 100);
/* oklch */ color: oklch(33.2% 0.093 280.1);
Tailwind
colors: {
  custom: {
    50: '#6b6690',
    500: '#2e2e64',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e64;
$custom-light: #6b6690;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e64",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.09277,
    "h": 280.1
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#2E2E64
secondary
#969658
accent
#CD5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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