#2E4160#2E4160

#2E4160 is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.4% C 0.059 H 259.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E4160
RGBrgb(46, 65, 96)
HSLhsl(217, 35%, 28%)
HSVhsv(217, 52%, 38%)
CMYKcmyk(52.1%, 32.3%, 0%, 62.4%)
CIE-LABlab(27.31, 2.23, -20.67)
CIE-LCHlch(27.31, 20.79, 276.17°)
OKLaboklab(37.4% -0.0103 -0.058)
OKLCHoklch(37.4% 0.059 259.9)
XYZxyz(5.1276, 5.2056, 11.7986)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4160 #604D2E
analogous
#2E5A60 #2E4160 #342E60
triadic
#2E4160 #602E41 #41602E
tetradic
#2E4160 #602E5A #604D2E #2E6034
square
#2E4160 #602E5A #604D2E #2E6034
split-complementary
#2E4160 #60342E #5A602E
monochromatic
#0A0E15 #1A2537 #2E4160 #425D89 #597AAF

Accessibility & contrast

On white

10.29
#2E4160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4160
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4160#FFFFFF#000000##FFFFFF
##2E41601.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#2F3E5F
Tritanopia (blue-blind)
#18484C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4160;
/* rgb */ color: rgb(46, 65, 96);
/* oklch */ color: oklch(37.4% 0.059 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a758d',
    500: '#2e4160',
    950: '#000000',
  },
}
SCSS
$custom: #2e4160;
$custom-light: #6a758d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4160",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 96
  },
  "hsl": {
    "h": 217.2,
    "s": 35.211,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.0589,
    "h": 259.9
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#2E4160
secondary
#927C58
accent
#A15DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2E4160

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

Preview Lab → · Contrast checker → · Palette generator →

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