#2E415C#2E415C

#2E415C is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.053 H 257.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2E415C
RGBrgb(46, 65, 92)
HSLhsl(215, 33%, 27%)
HSVhsv(215, 50%, 36%)
CMYKcmyk(50%, 29.3%, 0%, 63.9%)
CIE-LABlab(27.11, 0.87, -18.40)
CIE-LCHlch(27.11, 18.42, 272.70°)
OKLaboklab(37.17% -0.0117 -0.0514)
OKLCHoklch(37.17% 0.053 257.2)
XYZxyz(4.9481, 5.1338, 10.8533)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E415C #5C492E
analogous
#2E585C #2E415C #322E5C
triadic
#2E415C #5C2E41 #415C2E
tetradic
#2E415C #5C2E58 #5C492E #2E5C32
square
#2E415C #5C2E58 #5C492E #2E5C32
split-complementary
#2E415C #5C322E #585C2E
monochromatic
#0A0E14 #1A2433 #2E415C #425E85 #597BAC

Accessibility & contrast

On white

10.36
#2E415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E415C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E415C#FFFFFF#000000##FFFFFF
##2E415C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435D
Deuteranopia (green-blind)
#313E5B
Tritanopia (blue-blind)
#1B474A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e415c;
/* rgb */ color: rgb(46, 65, 92);
/* oklch */ color: oklch(37.2% 0.053 257.2);
Tailwind
colors: {
  custom: {
    50: '#69758a',
    500: '#2e415c',
    950: '#000000',
  },
}
SCSS
$custom: #2e415c;
$custom-light: #69758a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e415c",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 215.217,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.05275,
    "h": 257.2
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#2E415C
secondary
#8E7858
accent
#9D5EC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2E415C

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

Preview Lab → · Contrast checker → · Palette generator →

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