#2E328D#2E328D

#2E328D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.148 H 274.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2E328D
RGBrgb(46, 50, 141)
HSLhsl(237, 51%, 37%)
HSVhsv(237, 67%, 55%)
CMYKcmyk(67.4%, 64.5%, 0%, 44.7%)
CIE-LABlab(26.11, 28.80, -51.07)
CIE-LCHlch(26.11, 58.63, 299.42°)
OKLaboklab(37.47% 0.0123 -0.1472)
OKLCHoklch(37.47% 0.148 274.8)
XYZxyz(7.0734, 4.7845, 25.7449)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E328D #8D892E
analogous
#2E628D #2E328D #5A2E8D
triadic
#2E328D #8D2E32 #328D2E
tetradic
#2E328D #8D2E62 #8D892E #2E8D5A
square
#2E328D #8D2E62 #8D892E #2E8D5A
split-complementary
#2E328D #8D5A2E #628D2E
monochromatic
#101131 #1F225F #2E328D #3D42BB #686CCE

Accessibility & contrast

On white

10.73
#2E328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E328D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E328D#FFFFFF#000000##FFFFFF
##2E328D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e328d;
/* rgb */ color: rgb(46, 50, 141);
/* oklch */ color: oklch(37.5% 0.148 274.8);
Tailwind
colors: {
  custom: {
    50: '#736aaf',
    500: '#2e328d',
    950: '#000000',
  },
}
SCSS
$custom: #2e328d;
$custom-light: #736aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e328d",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 237.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.14775,
    "h": 274.8
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#2E328D
secondary
#B5B162
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E328D

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

Preview Lab → · Contrast checker → · Palette generator →

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