#2E326D#2E326D

#2E326D is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.101 H 276.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2E326D
RGBrgb(46, 50, 109)
HSLhsl(236, 41%, 30%)
HSVhsv(236, 58%, 43%)
CMYKcmyk(57.8%, 54.1%, 0%, 57.3%)
CIE-LABlab(23.56, 17.17, -35.01)
CIE-LCHlch(23.56, 39.00, 296.13°)
OKLaboklab(34.77% 0.0121 -0.1)
OKLCHoklch(34.77% 0.101 276.9)
XYZxyz(5.0268, 3.9658, 14.9656)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E326D #6D692E
analogous
#2E526D #2E326D #492E6D
triadic
#2E326D #6D2E32 #326D2E
tetradic
#2E326D #6D2E52 #6D692E #2E6D49
square
#2E326D #6D2E52 #6D692E #2E6D49
split-complementary
#2E326D #6D492E #526D2E
monochromatic
#0A0B17 #1C1E42 #2E326D #404698 #5B61BA

Accessibility & contrast

On white

11.71
#2E326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E326D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E326D#FFFFFF#000000##FFFFFF
##2E326D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B6F
Deuteranopia (green-blind)
#09366C
Tritanopia (blue-blind)
#0E3F4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e326d;
/* rgb */ color: rgb(46, 50, 109);
/* oklch */ color: oklch(34.8% 0.101 276.9);
Tailwind
colors: {
  custom: {
    50: '#6d6997',
    500: '#2e326d',
    950: '#000000',
  },
}
SCSS
$custom: #2e326d;
$custom-light: #6d6997;
$custom-dark: #000000;
JSON
{
  "hex": "#2e326d",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 236.19,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34772,
    "c": 0.10077,
    "h": 276.9
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#2E326D
secondary
#9F9A58
accent
#C957D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E326D

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

Preview Lab → · Contrast checker → · Palette generator →

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