#2E497D#2E497D

#2E497D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.093 H 262.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E497D
RGBrgb(46, 73, 125)
HSLhsl(219, 46%, 34%)
HSVhsv(219, 63%, 49%)
CMYKcmyk(63.2%, 41.6%, 0%, 51%)
CIE-LABlab(31.41, 7.31, -32.59)
CIE-LCHlch(31.41, 33.40, 282.65°)
OKLaboklab(41.1% -0.0125 -0.0926)
OKLCHoklch(41.1% 0.093 262.3)
XYZxyz(7.2096, 6.8260, 20.3357)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E497D #7D622E
analogous
#2E707D #2E497D #3A2E7D
triadic
#2E497D #7D2E49 #497D2E
tetradic
#2E497D #7D2E70 #7D622E #2E7D3A
square
#2E497D #7D2E70 #7D622E #2E7D3A
split-complementary
#2E497D #7D3A2E #707D2E
monochromatic
#0D1524 #1E2F50 #2E497D #3E63AA #6183C5

Accessibility & contrast

On white

8.88
#2E497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E497D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E497D#FFFFFF#000000##FFFFFF
##2E497D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#27477C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e497d;
/* rgb */ color: rgb(46, 73, 125);
/* oklch */ color: oklch(41.1% 0.093 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ba3',
    500: '#2e497d',
    950: '#000000',
  },
}
SCSS
$custom: #2e497d;
$custom-light: #6e7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e497d",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 219.494,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.09348,
    "h": 262.3
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#2E497D
secondary
#AB905B
accent
#A952D6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E497D

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

Preview Lab → · Contrast checker → · Palette generator →

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