#2E329B#2E329B

#2E329B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.167 H 273.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2E329B
RGBrgb(46, 50, 155)
HSLhsl(238, 54%, 39%)
HSVhsv(238, 70%, 61%)
CMYKcmyk(70.3%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.37, 33.81, -57.61)
CIE-LCHlch(27.37, 66.80, 300.41°)
OKLaboklab(38.78% 0.0111 -0.1664)
OKLCHoklch(38.78% 0.167 273.8)
XYZxyz(8.1817, 5.2278, 31.5819)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E329B #9B972E
analogous
#2E699B #2E329B #612E9B
triadic
#2E329B #9B2E32 #329B2E
tetradic
#2E329B #9B2E69 #9B972E #2E9B61
square
#2E329B #9B2E69 #9B972E #2E9B61
split-complementary
#2E329B #9B612E #699B2E
monochromatic
#12143D #20236C #2E329B #4045C6 #6F73D4

Accessibility & contrast

On white

10.26
#2E329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E329B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E329B#FFFFFF#000000##FFFFFF
##2E329B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e329b;
/* rgb */ color: rgb(46, 50, 155);
/* oklch */ color: oklch(38.8% 0.167 273.8);
Tailwind
colors: {
  custom: {
    50: '#766ab9',
    500: '#2e329b',
    950: '#000000',
  },
}
SCSS
$custom: #2e329b;
$custom-light: #766ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e329b",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 237.798,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.16678,
    "h": 273.8
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#2E329B
secondary
#BCB969
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E329B

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

Preview Lab → · Contrast checker → · Palette generator →

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