#2E329D#2E329D

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

Color values

HEX#2E329D
RGBrgb(46, 50, 157)
HSLhsl(238, 55%, 40%)
HSVhsv(238, 71%, 62%)
CMYKcmyk(70.7%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.56, 34.52, -58.52)
CIE-LCHlch(27.56, 67.94, 300.54°)
OKLaboklab(38.98% 0.0109 -0.1691)
OKLCHoklch(38.98% 0.169 273.7)
XYZxyz(8.3511, 5.2956, 32.4738)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E329D #9D992E
analogous
#2E699D #2E329D #622E9D
triadic
#2E329D #9D2E32 #329D2E
tetradic
#2E329D #9D2E69 #9D992E #2E9D62
square
#2E329D #9D2E69 #9D992E #2E9D62
split-complementary
#2E329D #9D622E #699D2E
monochromatic
#12143E #20236E #2E329D #4146C7 #7074D5

Accessibility & contrast

On white

10.20
#2E329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E329D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E329D#FFFFFF#000000##FFFFFF
##2E329D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e329d;
/* rgb */ color: rgb(46, 50, 157);
/* oklch */ color: oklch(39.0% 0.169 273.7);
Tailwind
colors: {
  custom: {
    50: '#776abb',
    500: '#2e329d',
    950: '#000000',
  },
}
SCSS
$custom: #2e329d;
$custom-light: #776abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e329d",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 237.838,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.16943,
    "h": 273.7
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#2E329D
secondary
#BDBA6A
accent
#D94ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E329D

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

Preview Lab → · Contrast checker → · Palette generator →

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