#2E329F#2E329F

#2E329F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.172 H 273.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2E329F
RGBrgb(46, 50, 159)
HSLhsl(238, 55%, 40%)
HSVhsv(238, 71%, 62%)
CMYKcmyk(71.1%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.75, 35.23, -59.43)
CIE-LCHlch(27.75, 69.08, 300.66°)
OKLaboklab(39.17% 0.0106 -0.1717)
OKLCHoklch(39.17% 0.172 273.5)
XYZxyz(8.5232, 5.3644, 33.3804)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E329F #9F9B2E
analogous
#2E6A9F #2E329F #622E9F
triadic
#2E329F #9F2E32 #329F2E
tetradic
#2E329F #9F2E6A #9F9B2E #2E9F62
square
#2E329F #9F2E6A #9F9B2E #2E9F62
split-complementary
#2E329F #9F622E #6A9F2E
monochromatic
#131440 #202370 #2E329F #4247C8 #7175D6

Accessibility & contrast

On white

10.13
#2E329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E329F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E329F#FFFFFF#000000##FFFFFF
##2E329F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e329f;
/* rgb */ color: rgb(46, 50, 159);
/* oklch */ color: oklch(39.2% 0.172 273.5);
Tailwind
colors: {
  custom: {
    50: '#776abc',
    500: '#2e329f',
    950: '#000000',
  },
}
SCSS
$custom: #2e329f;
$custom-light: #776abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e329f",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 237.876,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.17207,
    "h": 273.5
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#2E329F
secondary
#BEBB6B
accent
#D949DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E329F

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

Preview Lab → · Contrast checker → · Palette generator →

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