#2E326A#2E326A

#2E326A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.096 H 277.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2E326A
RGBrgb(46, 50, 106)
HSLhsl(236, 39%, 30%)
HSVhsv(236, 57%, 42%)
CMYKcmyk(56.6%, 52.8%, 0%, 58.4%)
CIE-LABlab(23.35, 16.09, -33.42)
CIE-LCHlch(23.35, 37.09, 295.71°)
OKLaboklab(34.54% 0.0118 -0.0953)
OKLCHoklch(34.54% 0.096 277)
XYZxyz(4.8680, 3.9023, 14.1296)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E326A #6A662E
analogous
#2E506A #2E326A #482E6A
triadic
#2E326A #6A2E32 #326A2E
tetradic
#2E326A #6A2E50 #6A662E #2E6A48
square
#2E326A #6A2E50 #6A662E #2E6A48
split-complementary
#2E326A #6A482E #506A2E
monochromatic
#090A15 #1B1E3F #2E326A #414695 #5B61B8

Accessibility & contrast

On white

11.79
#2E326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E326A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E326A#FFFFFF#000000##FFFFFF
##2E326A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163A6C
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#123E49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e326a;
/* rgb */ color: rgb(46, 50, 106);
/* oklch */ color: oklch(34.5% 0.096 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c6995',
    500: '#2e326a',
    950: '#000000',
  },
}
SCSS
$custom: #2e326a;
$custom-light: #6c6995;
$custom-dark: #000000;
JSON
{
  "hex": "#2e326a",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 236,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34544,
    "c": 0.09607,
    "h": 277
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#2E326A
secondary
#9C9758
accent
#C758CF
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E326A

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

Preview Lab → · Contrast checker → · Palette generator →

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