#2E314C#2E314C

#2E314C is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.3% C 0.048 H 278.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2E314C
RGBrgb(46, 49, 76)
HSLhsl(234, 25%, 24%)
HSVhsv(234, 39%, 30%)
CMYKcmyk(39.5%, 35.5%, 0%, 70.2%)
CIE-LABlab(21.20, 6.45, -17.06)
CIE-LCHlch(21.20, 18.23, 290.70°)
OKLaboklab(32.31% 0.0071 -0.0476)
OKLCHoklch(32.31% 0.048 278.5)
XYZxyz(3.5292, 3.2991, 7.2869)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E314C #4C492E
analogous
#2E404C #2E314C #3A2E4C
triadic
#2E314C #4C2E31 #314C2E
tetradic
#2E314C #4C2E40 #4C492E #2E4C3A
square
#2E314C #4C2E40 #4C492E #2E4C3A
split-complementary
#2E314C #4C3A2E #404C2E
monochromatic
#0C0C13 #171826 #2E314C #454A72 #5C6298

Accessibility & contrast

On white

12.65
#2E314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E314C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E314C#FFFFFF#000000##FFFFFF
##2E314C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344D
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#26363B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e314c;
/* rgb */ color: rgb(46, 49, 76);
/* oklch */ color: oklch(32.3% 0.048 278.5);
Tailwind
colors: {
  custom: {
    50: '#68687e',
    500: '#2e314c',
    950: '#000000',
  },
}
SCSS
$custom: #2e314c;
$custom-light: #68687e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e314c",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 234,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.04811,
    "h": 278.5
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#2E314C
secondary
#7D7A59
accent
#B867C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E314C

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

Preview Lab → · Contrast checker → · Palette generator →

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