#2E4D82#2E4D82

#2E4D82 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.096 H 260.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4D82
RGBrgb(46, 77, 130)
HSLhsl(218, 48%, 35%)
HSVhsv(218, 65%, 51%)
CMYKcmyk(64.6%, 40.8%, 0%, 49%)
CIE-LABlab(32.92, 6.50, -33.29)
CIE-LCHlch(32.92, 33.91, 281.06°)
OKLaboklab(42.37% -0.0159 -0.0946)
OKLCHoklch(42.37% 0.096 260.5)
XYZxyz(7.8084, 7.4996, 22.1508)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D82 #82632E
analogous
#2E7782 #2E4D82 #392E82
triadic
#2E4D82 #822E4D #4D822E
tetradic
#2E4D82 #822E77 #82632E #2E8239
square
#2E4D82 #822E77 #82632E #2E8239
split-complementary
#2E4D82 #82392E #77822E
monochromatic
#0E1728 #1E3255 #2E4D82 #3E68AF #6388C8

Accessibility & contrast

On white

8.40
#2E4D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E4D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D82
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D82#FFFFFF#000000##FFFFFF
##2E4D821.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4d82;
/* rgb */ color: rgb(46, 77, 130);
/* oklch */ color: oklch(42.4% 0.096 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ea6',
    500: '#2e4d82',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d82;
$custom-light: #6f7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d82",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 217.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.09596,
    "h": 260.5
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#2E4D82
secondary
#AE905D
accent
#A650D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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