#2E2B59#2E2B59

#2E2B59 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.080 H 283.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2B59
RGBrgb(46, 43, 89)
HSLhsl(244, 35%, 26%)
HSVhsv(244, 52%, 35%)
CMYKcmyk(48.3%, 51.7%, 0%, 65.1%)
CIE-LABlab(20.16, 14.99, -27.38)
CIE-LCHlch(20.16, 31.22, 298.70°)
OKLaboklab(31.77% 0.0191 -0.0777)
OKLCHoklch(31.77% 0.08 283.8)
XYZxyz(3.7932, 3.0297, 9.8342)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B59 #56592B
analogous
#2B3F59 #2E2B59 #452B59
triadic
#2E2B59 #592E2B #2B592E
tetradic
#2E2B59 #592B3F #56592B #2B5945
square
#2E2B59 #592B3F #56592B #2B5945
split-complementary
#2E2B59 #59452B #3F592B
monochromatic
#0B0A15 #191730 #2E2B59 #433F82 #5953AC

Accessibility & contrast

On white

13.08
#2E2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B59
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B59#FFFFFF#000000##FFFFFF
##2E2B591.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#20353D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2b59;
/* rgb */ color: rgb(46, 43, 89);
/* oklch */ color: oklch(31.8% 0.080 283.8);
Tailwind
colors: {
  custom: {
    50: '#6a6488',
    500: '#2e2b59',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b59;
$custom-light: #6a6488;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b59",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 243.913,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.08,
    "h": 283.8
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#2E2B59
secondary
#888B55
accent
#CB5DC4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #2E2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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