#2E2B60#2E2B60

#2E2B60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.091 H 282.6°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2B60
RGBrgb(46, 43, 96)
HSLhsl(243, 38%, 27%)
HSVhsv(243, 55%, 38%)
CMYKcmyk(52.1%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.65, 17.42, -31.24)
CIE-LCHlch(20.65, 35.76, 299.14°)
OKLaboklab(32.29% 0.0198 -0.089)
OKLCHoklch(32.29% 0.091 282.6)
XYZxyz(4.1013, 3.1529, 11.4565)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B60 #5D602B
analogous
#2B4360 #2E2B60 #492B60
triadic
#2E2B60 #602E2B #2B602E
tetradic
#2E2B60 #602B43 #5D602B #2B6049
square
#2E2B60 #602B43 #5D602B #2B6049
split-complementary
#2E2B60 #60492B #43602B
monochromatic
#0A0915 #1A1836 #2E2B60 #423E8A #5953B2

Accessibility & contrast

On white

12.88
#2E2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2B60
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B60#FFFFFF#000000##FFFFFF
##2E2B601.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113462
Deuteranopia (green-blind)
#0D305F
Tritanopia (blue-blind)
#1C3741
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e2b60;
/* rgb */ color: rgb(46, 43, 96);
/* oklch */ color: oklch(32.3% 0.091 282.6);
Tailwind
colors: {
  custom: {
    50: '#6b648d',
    500: '#2e2b60',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b60;
$custom-light: #6b648d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b60",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 243.396,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.09118,
    "h": 282.6
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#2E2B60
secondary
#8F9255
accent
#CE5AC7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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