#2E329A#2E329A

#2E329A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.165 H 273.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2E329A
RGBrgb(46, 50, 154)
HSLhsl(238, 54%, 39%)
HSVhsv(238, 70%, 60%)
CMYKcmyk(70.1%, 67.5%, 0%, 39.6%)
CIE-LABlab(27.28, 33.46, -57.15)
CIE-LCHlch(27.28, 66.22, 300.35°)
OKLaboklab(38.69% 0.0112 -0.1651)
OKLCHoklch(38.69% 0.165 273.9)
XYZxyz(8.0981, 5.1944, 31.1414)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E329A #9A962E
analogous
#2E689A #2E329A #602E9A
triadic
#2E329A #9A2E32 #329A2E
tetradic
#2E329A #9A2E68 #9A962E #2E9A60
square
#2E329A #9A2E68 #9A962E #2E9A60
split-complementary
#2E329A #9A602E #689A2E
monochromatic
#12133C #20236B #2E329A #3F44C6 #6F72D4

Accessibility & contrast

On white

10.30
#2E329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E329A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E329A#FFFFFF#000000##FFFFFF
##2E329A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e329a;
/* rgb */ color: rgb(46, 50, 154);
/* oklch */ color: oklch(38.7% 0.165 273.9);
Tailwind
colors: {
  custom: {
    50: '#766ab9',
    500: '#2e329a',
    950: '#000000',
  },
}
SCSS
$custom: #2e329a;
$custom-light: #766ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e329a",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 237.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.16545,
    "h": 273.9
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#2E329A
secondary
#BBB869
accent
#D84ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E329A

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

Preview Lab → · Contrast checker → · Palette generator →

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