#2E405B#2E405B

#2E405B is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.9% C 0.052 H 258.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E405B
RGBrgb(46, 64, 91)
HSLhsl(216, 33%, 27%)
HSVhsv(216, 49%, 36%)
CMYKcmyk(49.5%, 29.7%, 0%, 64.3%)
CIE-LABlab(26.74, 1.19, -18.33)
CIE-LCHlch(26.74, 18.37, 273.72°)
OKLaboklab(36.87% -0.0106 -0.0512)
OKLCHoklch(36.87% 0.052 258.3)
XYZxyz(4.8478, 5.0027, 10.6057)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E405B #5B492E
analogous
#2E575B #2E405B #332E5B
triadic
#2E405B #5B2E40 #405B2E
tetradic
#2E405B #5B2E57 #5B492E #2E5B33
square
#2E405B #5B2E57 #5B492E #2E5B33
split-complementary
#2E405B #5B332E #575B2E
monochromatic
#0A0E14 #192332 #2E405B #435D84 #5979AB

Accessibility & contrast

On white

10.50
#2E405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E405B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E405B#FFFFFF#000000##FFFFFF
##2E405B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425C
Deuteranopia (green-blind)
#313D5A
Tritanopia (blue-blind)
#1C4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e405b;
/* rgb */ color: rgb(46, 64, 91);
/* oklch */ color: oklch(36.9% 0.052 258.3);
Tailwind
colors: {
  custom: {
    50: '#697489',
    500: '#2e405b',
    950: '#000000',
  },
}
SCSS
$custom: #2e405b;
$custom-light: #697489;
$custom-dark: #000000;
JSON
{
  "hex": "#2e405b",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 216,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36868,
    "c": 0.05232,
    "h": 258.3
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#2E405B
secondary
#8D7858
accent
#9F5FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2E405B

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

Preview Lab → · Contrast checker → · Palette generator →

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