#2E415F#2E415F

#2E415F is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.3% C 0.057 H 259.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#2E415F
RGBrgb(46, 65, 95)
HSLhsl(217, 35%, 28%)
HSVhsv(217, 52%, 37%)
CMYKcmyk(51.6%, 31.6%, 0%, 62.7%)
CIE-LABlab(27.26, 1.89, -20.11)
CIE-LCHlch(27.26, 20.20, 275.37°)
OKLaboklab(37.34% -0.0107 -0.0564)
OKLCHoklch(37.34% 0.057 259.3)
XYZxyz(5.0819, 5.1873, 11.5577)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E415F #5F4C2E
analogous
#2E595F #2E415F #342E5F
triadic
#2E415F #5F2E41 #415F2E
tetradic
#2E415F #5F2E59 #5F4C2E #2E5F34
square
#2E415F #5F2E59 #5F4C2E #2E5F34
split-complementary
#2E415F #5F342E #595F2E
monochromatic
#0A0E15 #1A2536 #2E415F #425D88 #597AAF

Accessibility & contrast

On white

10.31
#2E415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E415F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E415F#FFFFFF#000000##FFFFFF
##2E415F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#303E5E
Tritanopia (blue-blind)
#19484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e415f;
/* rgb */ color: rgb(46, 65, 95);
/* oklch */ color: oklch(37.3% 0.057 259.3);
Tailwind
colors: {
  custom: {
    50: '#6a758c',
    500: '#2e415f',
    950: '#000000',
  },
}
SCSS
$custom: #2e415f;
$custom-light: #6a758c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e415f",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 216.735,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.05736,
    "h": 259.3
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#2E415F
secondary
#917B58
accent
#A05DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2E415F

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

Preview Lab → · Contrast checker → · Palette generator →

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