#2E327C#2E327C

#2E327C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.123 H 275.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2E327C
RGBrgb(46, 50, 124)
HSLhsl(237, 46%, 33%)
HSVhsv(237, 63%, 49%)
CMYKcmyk(62.9%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.69, 22.62, -42.74)
CIE-LCHlch(24.69, 48.36, 297.89°)
OKLaboklab(35.98% 0.0127 -0.1228)
OKLCHoklch(35.98% 0.123 275.9)
XYZxyz(5.9042, 4.3168, 19.5870)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E327C #7C782E
analogous
#2E597C #2E327C #512E7C
triadic
#2E327C #7C2E32 #327C2E
tetradic
#2E327C #7C2E59 #7C782E #2E7C51
square
#2E327C #7C2E59 #7C782E #2E7C51
split-complementary
#2E327C #7C512E #597C2E
monochromatic
#0D0E23 #1D204F #2E327C #3F44A9 #6065C4

Accessibility & contrast

On white

11.27
#2E327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E327C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E327C#FFFFFF#000000##FFFFFF
##2E327C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e327c;
/* rgb */ color: rgb(46, 50, 124);
/* oklch */ color: oklch(36.0% 0.123 275.9);
Tailwind
colors: {
  custom: {
    50: '#6f69a2',
    500: '#2e327c',
    950: '#000000',
  },
}
SCSS
$custom: #2e327c;
$custom-light: #6f69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e327c",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 236.923,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.12344,
    "h": 275.9
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#2E327C
secondary
#ABA75B
accent
#CF52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E327C

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

Preview Lab → · Contrast checker → · Palette generator →

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