#2E3A4E#2E3A4E

#2E3A4E is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.7% C 0.039 H 260.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2E3A4E
RGBrgb(46, 58, 78)
HSLhsl(218, 26%, 24%)
HSVhsv(218, 41%, 31%)
CMYKcmyk(41%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.18, 0.92, -13.77)
CIE-LCHlch(24.18, 13.80, 273.84°)
OKLaboklab(34.66% -0.0064 -0.0382)
OKLCHoklch(34.66% 0.039 260.5)
XYZxyz(4.0145, 4.1568, 7.7971)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A4E #4E422E
analogous
#2E4A4E #2E3A4E #322E4E
triadic
#2E3A4E #4E2E3A #3A4E2E
tetradic
#2E3A4E #4E2E4A #4E422E #2E4E32
square
#2E3A4E #4E2E4A #4E422E #2E4E32
split-complementary
#2E3A4E #4E322E #4A4E2E
monochromatic
#0B0E13 #171D28 #2E3A4E #455774 #5B739B

Accessibility & contrast

On white

11.47
#2E3A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E3A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A4E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A4E#FFFFFF#000000##FFFFFF
##2E3A4E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#30384E
Tritanopia (blue-blind)
#243E41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3a4e;
/* rgb */ color: rgb(46, 58, 78);
/* oklch */ color: oklch(34.7% 0.039 260.5);
Tailwind
colors: {
  custom: {
    50: '#68707f',
    500: '#2e3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a4e;
$custom-light: #68707f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a4e",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 217.5,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.03871,
    "h": 260.5
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#2E3A4E
secondary
#7F7158
accent
#9F66C2
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2E3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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