#2E4E80#2E4E80

#2E4E80 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.092 H 259.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2E4E80
RGBrgb(46, 78, 128)
HSLhsl(217, 47%, 34%)
HSVhsv(217, 64%, 50%)
CMYKcmyk(64.1%, 39.1%, 0%, 49.8%)
CIE-LABlab(33.11, 5.10, -31.75)
CIE-LCHlch(33.11, 32.15, 279.13°)
OKLaboklab(42.48% -0.0175 -0.0901)
OKLCHoklch(42.48% 0.092 259)
XYZxyz(7.7460, 7.5874, 21.4742)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E80 #80602E
analogous
#2E7780 #2E4E80 #372E80
triadic
#2E4E80 #802E4E #4E802E
tetradic
#2E4E80 #802E77 #80602E #2E8037
square
#2E4E80 #802E77 #80602E #2E8037
split-complementary
#2E4E80 #80372E #77802E
monochromatic
#0E1726 #1E3353 #2E4E80 #3E69AD #6289C7

Accessibility & contrast

On white

8.34
#2E4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E80
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E80#FFFFFF#000000##FFFFFF
##2E4E801.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4e80;
/* rgb */ color: rgb(46, 78, 128);
/* oklch */ color: oklch(42.5% 0.092 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fa5',
    500: '#2e4e80',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e80;
$custom-light: #6f7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e80",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 216.585,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.09181,
    "h": 259
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#2E4E80
secondary
#AD8E5D
accent
#A351D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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