#2E4D84#2E4D84

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

Color values

HEX#2E4D84
RGBrgb(46, 77, 132)
HSLhsl(218, 48%, 35%)
HSVhsv(218, 65%, 52%)
CMYKcmyk(65.2%, 41.7%, 0%, 48.2%)
CIE-LABlab(33.04, 7.25, -34.33)
CIE-LCHlch(33.04, 35.09, 281.92°)
OKLaboklab(42.5% -0.0154 -0.0977)
OKLCHoklch(42.5% 0.099 261)
XYZxyz(7.9440, 7.5538, 22.8647)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D84 #84652E
analogous
#2E7884 #2E4D84 #3A2E84
triadic
#2E4D84 #842E4D #4D842E
tetradic
#2E4D84 #842E78 #84652E #2E843A
square
#2E4D84 #842E78 #84652E #2E843A
split-complementary
#2E4D84 #843A2E #78842E
monochromatic
#0E1829 #1E3357 #2E4D84 #3E67B1 #6488C9

Accessibility & contrast

On white

8.36
#2E4D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E4D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D84
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D84#FFFFFF#000000##FFFFFF
##2E4D841.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4d84;
/* rgb */ color: rgb(46, 77, 132);
/* oklch */ color: oklch(42.5% 0.099 261.0);
Tailwind
colors: {
  custom: {
    50: '#707ea8',
    500: '#2e4d84',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d84;
$custom-light: #707ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d84",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 218.372,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.09892,
    "h": 261
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#2E4D84
secondary
#B0925E
accent
#A750D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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