#2E328E#2E328E

#2E328E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.149 H 274.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2E328E
RGBrgb(46, 50, 142)
HSLhsl(238, 51%, 37%)
HSVhsv(238, 68%, 56%)
CMYKcmyk(67.6%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.20, 29.16, -51.54)
CIE-LCHlch(26.20, 59.22, 299.50°)
OKLaboklab(37.56% 0.0122 -0.1486)
OKLCHoklch(37.56% 0.149 274.7)
XYZxyz(7.1482, 4.8144, 26.1385)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E328E #8E8A2E
analogous
#2E628E #2E328E #5A2E8E
triadic
#2E328E #8E2E32 #328E2E
tetradic
#2E328E #8E2E62 #8E8A2E #2E8E5A
square
#2E328E #8E2E62 #8E8A2E #2E8E5A
split-complementary
#2E328E #8E5A2E #628E2E
monochromatic
#101132 #1F2260 #2E328E #3D42BC #686CCE

Accessibility & contrast

On white

10.70
#2E328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E328E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E328E#FFFFFF#000000##FFFFFF
##2E328E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e328e;
/* rgb */ color: rgb(46, 50, 142);
/* oklch */ color: oklch(37.6% 0.149 274.7);
Tailwind
colors: {
  custom: {
    50: '#736ab0',
    500: '#2e328e',
    950: '#000000',
  },
}
SCSS
$custom: #2e328e;
$custom-light: #736ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e328e",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 237.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.14914,
    "h": 274.7
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#2E328E
secondary
#B5B263
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E328E

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

Preview Lab → · Contrast checker → · Palette generator →

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