#2E405C#2E405C

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

Color values

HEX#2E405C
RGBrgb(46, 64, 92)
HSLhsl(217, 33%, 27%)
HSVhsv(217, 50%, 36%)
CMYKcmyk(50%, 30.4%, 0%, 63.9%)
CIE-LABlab(26.79, 1.53, -18.90)
CIE-LCHlch(26.79, 18.96, 274.63°)
OKLaboklab(36.92% -0.0103 -0.0529)
OKLCHoklch(36.92% 0.054 259)
XYZxyz(4.8912, 5.0200, 10.8344)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E405C #5C4A2E
analogous
#2E575C #2E405C #332E5C
triadic
#2E405C #5C2E40 #405C2E
tetradic
#2E405C #5C2E57 #5C4A2E #2E5C33
square
#2E405C #5C2E57 #5C4A2E #2E5C33
split-complementary
#2E405C #5C332E #575C2E
monochromatic
#0A0E14 #1A2433 #2E405C #425C85 #5979AC

Accessibility & contrast

On white

10.48
#2E405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E405C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E405C#FFFFFF#000000##FFFFFF
##2E405C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425D
Deuteranopia (green-blind)
#303D5B
Tritanopia (blue-blind)
#1B464A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e405c;
/* rgb */ color: rgb(46, 64, 92);
/* oklch */ color: oklch(36.9% 0.054 259.0);
Tailwind
colors: {
  custom: {
    50: '#69748a',
    500: '#2e405c',
    950: '#000000',
  },
}
SCSS
$custom: #2e405c;
$custom-light: #69748a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e405c",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 216.522,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.05387,
    "h": 259
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#2E405C
secondary
#8E7958
accent
#A05EC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2E405C

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

Preview Lab → · Contrast checker → · Palette generator →

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