#2E2E4C#2E2E4C

#2E2E4C is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.053 H 282.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2E4C
RGBrgb(46, 46, 76)
HSLhsl(240, 25%, 24%)
HSVhsv(240, 39%, 30%)
CMYKcmyk(39.5%, 39.5%, 0%, 70.2%)
CIE-LABlab(20.27, 8.54, -18.52)
CIE-LCHlch(20.27, 20.39, 294.77°)
OKLaboklab(31.59% 0.0119 -0.0518)
OKLCHoklch(31.59% 0.053 282.9)
XYZxyz(3.4079, 3.0565, 7.2465)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E4C #4C4C2E
analogous
#2E3D4C #2E2E4C #3D2E4C
triadic
#2E2E4C #4C2E2E #2E4C2E
tetradic
#2E2E4C #4C2E3D #4C4C2E #2E4C3D
square
#2E2E4C #4C2E3D #4C4C2E #2E4C3D
split-complementary
#2E2E4C #4C3D2E #3D4C2E
monochromatic
#0C0C13 #171726 #2E2E4C #454572 #5C5C98

Accessibility & contrast

On white

13.03
#2E2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E4C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E4C#FFFFFF#000000##FFFFFF
##2E2E4C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324D
Deuteranopia (green-blind)
#23304B
Tritanopia (blue-blind)
#263439
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2e4c;
/* rgb */ color: rgb(46, 46, 76);
/* oklch */ color: oklch(31.6% 0.053 282.9);
Tailwind
colors: {
  custom: {
    50: '#68667e',
    500: '#2e2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e4c;
$custom-light: #68667e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e4c",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.05316,
    "h": 282.9
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#2E2E4C
secondary
#7D7D59
accent
#C167C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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