#2E329C#2E329C

#2E329C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.168 H 273.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2E329C
RGBrgb(46, 50, 156)
HSLhsl(238, 54%, 40%)
HSVhsv(238, 71%, 61%)
CMYKcmyk(70.5%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.47, 34.17, -58.06)
CIE-LCHlch(27.47, 67.37, 300.47°)
OKLaboklab(38.88% 0.011 -0.1677)
OKLCHoklch(38.88% 0.168 273.7)
XYZxyz(8.2661, 5.2616, 32.0260)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E329C #9C982E
analogous
#2E699C #2E329C #612E9C
triadic
#2E329C #9C2E32 #329C2E
tetradic
#2E329C #9C2E69 #9C982E #2E9C61
square
#2E329C #9C2E69 #9C982E #2E9C61
split-complementary
#2E329C #9C612E #699C2E
monochromatic
#12143D #20236D #2E329C #4045C7 #7073D5

Accessibility & contrast

On white

10.23
#2E329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E329C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E329C#FFFFFF#000000##FFFFFF
##2E329C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e329c;
/* rgb */ color: rgb(46, 50, 156);
/* oklch */ color: oklch(38.9% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#766aba',
    500: '#2e329c',
    950: '#000000',
  },
}
SCSS
$custom: #2e329c;
$custom-light: #766aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e329c",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 237.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.16811,
    "h": 273.7
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E329C

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

Preview Lab → · Contrast checker → · Palette generator →

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