#2E2D60#2E2D60

#2E2D60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.088 H 281.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2E2D60
RGBrgb(46, 45, 96)
HSLhsl(241, 36%, 28%)
HSVhsv(241, 53%, 38%)
CMYKcmyk(52.1%, 53.1%, 0%, 62.4%)
CIE-LABlab(21.21, 16.02, -30.32)
CIE-LCHlch(21.21, 34.30, 297.85°)
OKLaboklab(32.71% 0.0172 -0.0863)
OKLCHoklch(32.71% 0.088 281.3)
XYZxyz(4.1758, 3.3019, 11.4814)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D60 #5F602D
analogous
#2D4660 #2E2D60 #472D60
triadic
#2E2D60 #602E2D #2D602E
tetradic
#2E2D60 #602D46 #5F602D #2D6047
square
#2E2D60 #602D46 #5F602D #2D6047
split-complementary
#2E2D60 #60472D #46602D
monochromatic
#0A0A15 #1A1936 #2E2D60 #42418A #5957B0

Accessibility & contrast

On white

12.65
#2E2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D60
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D60#FFFFFF#000000##FFFFFF
##2E2D601.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#12315F
Tritanopia (blue-blind)
#1C3842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2d60;
/* rgb */ color: rgb(46, 45, 96);
/* oklch */ color: oklch(32.7% 0.088 281.3);
Tailwind
colors: {
  custom: {
    50: '#6b658d',
    500: '#2e2d60',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d60;
$custom-light: #6b658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d60",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 241.176,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.08799,
    "h": 281.3
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#2E2D60
secondary
#919257
accent
#CC5CCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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