#2E2D57#2E2D57

#2E2D57 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.073 H 282.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2E2D57
RGBrgb(46, 45, 87)
HSLhsl(241, 32%, 26%)
HSVhsv(241, 48%, 34%)
CMYKcmyk(47.1%, 48.3%, 0%, 65.9%)
CIE-LABlab(20.62, 12.91, -25.33)
CIE-LCHlch(20.62, 28.43, 297.00°)
OKLaboklab(32.07% 0.0159 -0.0717)
OKLCHoklch(32.07% 0.073 282.5)
XYZxyz(3.7849, 3.1456, 9.4227)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D57 #56572D
analogous
#2D4157 #2E2D57 #432D57
triadic
#2E2D57 #572E2D #2D572E
tetradic
#2E2D57 #572D41 #56572D #2D5743
square
#2E2D57 #572D41 #56572D #2D5743
split-complementary
#2E2D57 #57432D #41572D
monochromatic
#0B0A14 #19182F #2E2D57 #43427F #5957A8

Accessibility & contrast

On white

12.89
#2E2D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E2D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D57
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D57#FFFFFF#000000##FFFFFF
##2E2D571.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#21363D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2d57;
/* rgb */ color: rgb(46, 45, 87);
/* oklch */ color: oklch(32.1% 0.073 282.5);
Tailwind
colors: {
  custom: {
    50: '#696586',
    500: '#2e2d57',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d57;
$custom-light: #696586;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d57",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 241.429,
    "s": 31.818,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.0734,
    "h": 282.5
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#2E2D57
secondary
#888957
accent
#C860C6
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #2E2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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