#2E326F#2E326F

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

Color values

HEX#2E326F
RGBrgb(46, 50, 111)
HSLhsl(236, 41%, 31%)
HSVhsv(236, 59%, 44%)
CMYKcmyk(58.6%, 55%, 0%, 56.5%)
CIE-LABlab(23.70, 17.89, -36.06)
CIE-LCHlch(23.70, 40.26, 296.39°)
OKLaboklab(34.93% 0.0122 -0.1031)
OKLCHoklch(34.93% 0.104 276.8)
XYZxyz(5.1356, 4.0094, 15.5391)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E326F #6F6B2E
analogous
#2E526F #2E326F #4A2E6F
triadic
#2E326F #6F2E32 #326F2E
tetradic
#2E326F #6F2E52 #6F6B2E #2E6F4A
square
#2E326F #6F2E52 #6F6B2E #2E6F4A
split-complementary
#2E326F #6F4A2E #526F2E
monochromatic
#0A0B18 #1C1F44 #2E326F #40459A #5C62BB

Accessibility & contrast

On white

11.65
#2E326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E326F
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E326F#FFFFFF#000000##FFFFFF
##2E326F1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#0B404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e326f;
/* rgb */ color: rgb(46, 50, 111);
/* oklch */ color: oklch(34.9% 0.104 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d6999',
    500: '#2e326f',
    950: '#000000',
  },
}
SCSS
$custom: #2e326f;
$custom-light: #6d6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2e326f",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 236.308,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.10385,
    "h": 276.8
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#2E326F
secondary
#A09C58
accent
#CA57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E326F

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

Preview Lab → · Contrast checker → · Palette generator →

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