#2E2D61#2E2D61

#2E2D61 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.090 H 281.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2D61
RGBrgb(46, 45, 97)
HSLhsl(241, 37%, 28%)
HSVhsv(241, 54%, 38%)
CMYKcmyk(52.6%, 53.6%, 0%, 62%)
CIE-LABlab(21.28, 16.37, -30.87)
CIE-LCHlch(21.28, 34.94, 297.94°)
OKLaboklab(32.79% 0.0173 -0.0879)
OKLCHoklch(32.79% 0.09 281.1)
XYZxyz(4.2221, 3.3205, 11.7254)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D61 #60612D
analogous
#2D4661 #2E2D61 #482D61
triadic
#2E2D61 #612E2D #2D612E
tetradic
#2E2D61 #612D46 #60612D #2D6148
square
#2E2D61 #612D46 #60612D #2D6148
split-complementary
#2E2D61 #61482D #46612D
monochromatic
#0A0A15 #1A1A37 #2E2D61 #42408B #5957B1

Accessibility & contrast

On white

12.62
#2E2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2D61
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D61#FFFFFF#000000##FFFFFF
##2E2D611.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153563
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#1B3842
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2d61;
/* rgb */ color: rgb(46, 45, 97);
/* oklch */ color: oklch(32.8% 0.090 281.1);
Tailwind
colors: {
  custom: {
    50: '#6b658e',
    500: '#2e2d61',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d61;
$custom-light: #6b658e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d61",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 241.154,
    "s": 36.62,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32789,
    "c": 0.08958,
    "h": 281.1
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#2E2D61
secondary
#929357
accent
#CD5BCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2E2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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