#2E2C60#2E2C60

#2E2C60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.090 H 281.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2C60
RGBrgb(46, 44, 96)
HSLhsl(242, 37%, 27%)
HSVhsv(242, 54%, 38%)
CMYKcmyk(52.1%, 54.2%, 0%, 62.4%)
CIE-LABlab(20.93, 16.72, -30.78)
CIE-LCHlch(20.93, 35.03, 298.51°)
OKLaboklab(32.5% 0.0185 -0.0877)
OKLCHoklch(32.5% 0.09 281.9)
XYZxyz(4.1381, 3.2265, 11.4688)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C60 #5E602C
analogous
#2C4460 #2E2C60 #482C60
triadic
#2E2C60 #602E2C #2C602E
tetradic
#2E2C60 #602C44 #5E602C #2C6048
square
#2E2C60 #602C44 #5E602C #2C6048
split-complementary
#2E2C60 #60482C #44602C
monochromatic
#0A0A15 #1A1936 #2E2C60 #423F8A #5955B1

Accessibility & contrast

On white

12.76
#2E2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C60
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C60#FFFFFF#000000##FFFFFF
##2E2C601.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#10315F
Tritanopia (blue-blind)
#1C3741
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2c60;
/* rgb */ color: rgb(46, 44, 96);
/* oklch */ color: oklch(32.5% 0.090 281.9);
Tailwind
colors: {
  custom: {
    50: '#6b658d',
    500: '#2e2c60',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c60;
$custom-light: #6b658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c60",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 242.308,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.325,
    "c": 0.08959,
    "h": 281.9
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#2E2C60
secondary
#909256
accent
#CD5BC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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