#2E328F#2E328F

#2E328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.151 H 274.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2E328F
RGBrgb(46, 50, 143)
HSLhsl(238, 51%, 37%)
HSVhsv(238, 68%, 56%)
CMYKcmyk(67.8%, 65%, 0%, 43.9%)
CIE-LABlab(26.29, 29.52, -52.02)
CIE-LCHlch(26.29, 59.81, 299.57°)
OKLaboklab(37.66% 0.0121 -0.15)
OKLCHoklch(37.66% 0.151 274.6)
XYZxyz(7.2236, 4.8446, 26.5357)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E328F #8F8B2E
analogous
#2E638F #2E328F #5B2E8F
triadic
#2E328F #8F2E32 #328F2E
tetradic
#2E328F #8F2E63 #8F8B2E #2E8F5B
square
#2E328F #8F2E63 #8F8B2E #2E8F5B
split-complementary
#2E328F #8F5B2E #638F2E
monochromatic
#101232 #1F2261 #2E328F #3D42BD #696DCF

Accessibility & contrast

On white

10.67
#2E328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E328F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E328F#FFFFFF#000000##FFFFFF
##2E328F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e328f;
/* rgb */ color: rgb(46, 50, 143);
/* oklch */ color: oklch(37.7% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#746ab1',
    500: '#2e328f',
    950: '#000000',
  },
}
SCSS
$custom: #2e328f;
$custom-light: #746ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e328f",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 237.526,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.15052,
    "h": 274.6
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#2E328F
secondary
#B6B263
accent
#D54DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E328F

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

Preview Lab → · Contrast checker → · Palette generator →

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