#2E326E#2E326E

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

Color values

HEX#2E326E
RGBrgb(46, 50, 110)
HSLhsl(236, 41%, 31%)
HSVhsv(236, 58%, 43%)
CMYKcmyk(58.2%, 54.5%, 0%, 56.9%)
CIE-LABlab(23.63, 17.53, -35.54)
CIE-LCHlch(23.63, 39.63, 296.26°)
OKLaboklab(34.85% 0.0122 -0.1016)
OKLCHoklch(34.85% 0.102 276.8)
XYZxyz(5.0809, 3.9875, 15.2508)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E326E #6E6A2E
analogous
#2E526E #2E326E #4A2E6E
triadic
#2E326E #6E2E32 #326E2E
tetradic
#2E326E #6E2E52 #6E6A2E #2E6E4A
square
#2E326E #6E2E52 #6E6A2E #2E6E4A
split-complementary
#2E326E #6E4A2E #526E2E
monochromatic
#0A0B18 #1C1E43 #2E326E #404699 #5C62BB

Accessibility & contrast

On white

11.68
#2E326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E326E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E326E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E326E#FFFFFF#000000##FFFFFF
##2E326E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B70
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#0D404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e326e;
/* rgb */ color: rgb(46, 50, 110);
/* oklch */ color: oklch(34.8% 0.102 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d6998',
    500: '#2e326e',
    950: '#000000',
  },
}
SCSS
$custom: #2e326e;
$custom-light: #6d6998;
$custom-dark: #000000;
JSON
{
  "hex": "#2e326e",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 236.25,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34849,
    "c": 0.10231,
    "h": 276.8
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#2E326E
secondary
#9F9B58
accent
#C957D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E326E

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

Preview Lab → · Contrast checker → · Palette generator →

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