#2E328C#2E328C

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

Color values

HEX#2E328C
RGBrgb(46, 50, 140)
HSLhsl(237, 51%, 36%)
HSVhsv(237, 67%, 55%)
CMYKcmyk(67.1%, 64.3%, 0%, 45.1%)
CIE-LABlab(26.02, 28.44, -50.59)
CIE-LCHlch(26.02, 58.03, 299.34°)
OKLaboklab(37.38% 0.0123 -0.1458)
OKLCHoklch(37.38% 0.146 274.8)
XYZxyz(6.9994, 4.7549, 25.3548)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E328C #8C882E
analogous
#2E618C #2E328C #592E8C
triadic
#2E328C #8C2E32 #328C2E
tetradic
#2E328C #8C2E61 #8C882E #2E8C59
square
#2E328C #8C2E61 #8C882E #2E8C59
split-complementary
#2E328C #8C592E #618C2E
monochromatic
#101130 #1F225E #2E328C #3D42BA #676CCD

Accessibility & contrast

On white

10.76
#2E328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E328C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E328C#FFFFFF#000000##FFFFFF
##2E328C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e328c;
/* rgb */ color: rgb(46, 50, 140);
/* oklch */ color: oklch(37.4% 0.146 274.8);
Tailwind
colors: {
  custom: {
    50: '#736aae',
    500: '#2e328c',
    950: '#000000',
  },
}
SCSS
$custom: #2e328c;
$custom-light: #736aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e328c",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 237.447,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.14636,
    "h": 274.8
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#2E328C
secondary
#B4B062
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E328C

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

Preview Lab → · Contrast checker → · Palette generator →

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