#2E497A#2E497A

#2E497A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.089 H 261.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E497A
RGBrgb(46, 73, 122)
HSLhsl(219, 45%, 33%)
HSVhsv(219, 62%, 48%)
CMYKcmyk(62.3%, 40.2%, 0%, 52.2%)
CIE-LABlab(31.23, 6.21, -30.99)
CIE-LCHlch(31.23, 31.61, 281.32°)
OKLaboklab(40.91% -0.0132 -0.088)
OKLCHoklch(40.91% 0.089 261.5)
XYZxyz(7.0209, 6.7505, 19.3416)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E497A #7A5F2E
analogous
#2E6F7A #2E497A #392E7A
triadic
#2E497A #7A2E49 #497A2E
tetradic
#2E497A #7A2E6F #7A5F2E #2E7A39
square
#2E497A #7A2E6F #7A5F2E #2E7A39
split-complementary
#2E497A #7A392E #6F7A2E
monochromatic
#0C1421 #1D2E4E #2E497A #3F64A6 #6083C3

Accessibility & contrast

On white

8.94
#2E497A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E497A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E497A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E497A#FFFFFF#000000##FFFFFF
##2E497A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e497a;
/* rgb */ color: rgb(46, 73, 122);
/* oklch */ color: oklch(40.9% 0.089 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ba1',
    500: '#2e497a',
    950: '#000000',
  },
}
SCSS
$custom: #2e497a;
$custom-light: #6e7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e497a",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 218.684,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.08897,
    "h": 261.5
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#2E497A
secondary
#AA8D5A
accent
#A753D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E497A

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

Preview Lab → · Contrast checker → · Palette generator →

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