#2E405A#2E405A

#2E405A is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.8% C 0.051 H 257.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E405A
RGBrgb(46, 64, 90)
HSLhsl(215, 32%, 27%)
HSVhsv(215, 49%, 35%)
CMYKcmyk(48.9%, 28.9%, 0%, 64.7%)
CIE-LABlab(26.69, 0.86, -17.75)
CIE-LCHlch(26.69, 17.78, 272.76°)
OKLaboklab(36.81% -0.011 -0.0496)
OKLCHoklch(36.81% 0.051 257.5)
XYZxyz(4.8050, 4.9855, 10.3800)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E405A #5A482E
analogous
#2E565A #2E405A #322E5A
triadic
#2E405A #5A2E40 #405A2E
tetradic
#2E405A #5A2E56 #5A482E #2E5A32
square
#2E405A #5A2E56 #5A482E #2E5A32
split-complementary
#2E405A #5A322E #565A2E
monochromatic
#0A0E14 #192332 #2E405A #435D83 #597AAA

Accessibility & contrast

On white

10.51
#2E405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E405A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E405A#FFFFFF#000000##FFFFFF
##2E405A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36415B
Deuteranopia (green-blind)
#313D59
Tritanopia (blue-blind)
#1D4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e405a;
/* rgb */ color: rgb(46, 64, 90);
/* oklch */ color: oklch(36.8% 0.051 257.5);
Tailwind
colors: {
  custom: {
    50: '#697488',
    500: '#2e405a',
    950: '#000000',
  },
}
SCSS
$custom: #2e405a;
$custom-light: #697488;
$custom-dark: #000000;
JSON
{
  "hex": "#2e405a",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 215.455,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36813,
    "c": 0.05078,
    "h": 257.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#2E405A
secondary
#8C7758
accent
#9D5FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2E405A

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

Preview Lab → · Contrast checker → · Palette generator →

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