#2E328B#2E328B

#2E328B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.145 H 274.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2E328B
RGBrgb(46, 50, 139)
HSLhsl(237, 50%, 36%)
HSVhsv(237, 67%, 55%)
CMYKcmyk(66.9%, 64%, 0%, 45.5%)
CIE-LABlab(25.94, 28.07, -50.11)
CIE-LCHlch(25.94, 57.44, 299.26°)
OKLaboklab(37.29% 0.0124 -0.1444)
OKLCHoklch(37.29% 0.145 274.9)
XYZxyz(6.9260, 4.7255, 24.9682)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E328B #8B872E
analogous
#2E618B #2E328B #592E8B
triadic
#2E328B #8B2E32 #328B2E
tetradic
#2E328B #8B2E61 #8B872E #2E8B59
square
#2E328B #8B2E61 #8B872E #2E8B59
split-complementary
#2E328B #8B592E #618B2E
monochromatic
#10112F #1F215D #2E328B #3D43B9 #676BCD

Accessibility & contrast

On white

10.80
#2E328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E328B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E328B#FFFFFF#000000##FFFFFF
##2E328B1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e328b;
/* rgb */ color: rgb(46, 50, 139);
/* oklch */ color: oklch(37.3% 0.145 274.9);
Tailwind
colors: {
  custom: {
    50: '#736aae',
    500: '#2e328b',
    950: '#000000',
  },
}
SCSS
$custom: #2e328b;
$custom-light: #736aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e328b",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 237.419,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.14496,
    "h": 274.9
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E328B

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

Preview Lab → · Contrast checker → · Palette generator →

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