#2E3752#2E3752

#2E3752 is a dark, muted blue. Relative luminance 0.039; OKLCH L 34.1% C 0.049 H 269.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2E3752
RGBrgb(46, 55, 82)
HSLhsl(225, 28%, 25%)
HSVhsv(225, 44%, 32%)
CMYKcmyk(43.9%, 32.9%, 0%, 67.8%)
CIE-LABlab(23.41, 4.26, -17.61)
CIE-LCHlch(23.41, 18.12, 283.59°)
OKLaboklab(34.12% -0.0004 -0.0492)
OKLCHoklch(34.12% 0.049 269.6)
XYZxyz(4.0154, 3.9222, 8.5265)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3752 #52492E
analogous
#2E4952 #2E3752 #372E52
triadic
#2E3752 #522E37 #37522E
tetradic
#2E3752 #522E49 #52492E #2E5237
square
#2E3752 #522E49 #52492E #2E5237
split-complementary
#2E3752 #52372E #49522E
monochromatic
#0B0D14 #181D2B #2E3752 #445179 #5A6CA0

Accessibility & contrast

On white

11.77
#2E3752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E3752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3752
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3752#FFFFFF#000000##FFFFFF
##2E37521.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3953
Deuteranopia (green-blind)
#2B3651
Tritanopia (blue-blind)
#223C41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3752;
/* rgb */ color: rgb(46, 55, 82);
/* oklch */ color: oklch(34.1% 0.049 269.6);
Tailwind
colors: {
  custom: {
    50: '#686d82',
    500: '#2e3752',
    950: '#000000',
  },
}
SCSS
$custom: #2e3752;
$custom-light: #686d82;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3752",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 82
  },
  "hsl": {
    "h": 225,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34124,
    "c": 0.04919,
    "h": 269.6
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#2E3752
secondary
#847958
accent
#AC63C4
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2E3752

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

Preview Lab → · Contrast checker → · Palette generator →

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