#2E4977#2E4977

#2E4977 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.084 H 260.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2E4977
RGBrgb(46, 73, 119)
HSLhsl(218, 44%, 32%)
HSVhsv(218, 61%, 47%)
CMYKcmyk(61.3%, 38.7%, 0%, 53.3%)
CIE-LABlab(31.06, 5.11, -29.39)
CIE-LCHlch(31.06, 29.83, 279.85°)
OKLaboklab(40.72% -0.014 -0.0833)
OKLCHoklch(40.72% 0.084 260.5)
XYZxyz(6.8379, 6.6773, 18.3777)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4977 #775C2E
analogous
#2E6E77 #2E4977 #382E77
triadic
#2E4977 #772E49 #49772E
tetradic
#2E4977 #772E6E #775C2E #2E7738
square
#2E4977 #772E6E #775C2E #2E7738
split-complementary
#2E4977 #77382E #6E772E
monochromatic
#0C131F #1D2E4B #2E4977 #3F64A3 #5E83C1

Accessibility & contrast

On white

8.99
#2E4977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E4977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4977
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4977#FFFFFF#000000##FFFFFF
##2E49771.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#2C4676
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4977;
/* rgb */ color: rgb(46, 73, 119);
/* oklch */ color: oklch(40.7% 0.084 260.5);
Tailwind
colors: {
  custom: {
    50: '#6d7b9e',
    500: '#2e4977',
    950: '#000000',
  },
}
SCSS
$custom: #2e4977;
$custom-light: #6d7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4977",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 119
  },
  "hsl": {
    "h": 217.808,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.08445,
    "h": 260.5
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#2E4977
secondary
#A88B59
accent
#A554D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4977

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

Preview Lab → · Contrast checker → · Palette generator →

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