#2E4A82#2E4A82

#2E4A82 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.100 H 262.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2E4A82
RGBrgb(46, 74, 130)
HSLhsl(220, 48%, 35%)
HSVhsv(220, 65%, 51%)
CMYKcmyk(64.6%, 43.1%, 0%, 49%)
CIE-LABlab(32.01, 8.50, -34.73)
CIE-LCHlch(32.01, 35.76, 283.76°)
OKLaboklab(41.66% -0.0125 -0.0989)
OKLCHoklch(41.66% 0.1 262.8)
XYZxyz(7.6034, 7.0894, 22.0825)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A82 #82662E
analogous
#2E7482 #2E4A82 #3C2E82
triadic
#2E4A82 #822E4A #4A822E
tetradic
#2E4A82 #822E74 #82662E #2E823C
square
#2E4A82 #822E74 #82662E #2E823C
split-complementary
#2E4A82 #823C2E #74822E
monochromatic
#0E1728 #1E3055 #2E4A82 #3E64AF #6384C8

Accessibility & contrast

On white

8.68
#2E4A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E4A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A82
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A82#FFFFFF#000000##FFFFFF
##2E4A821.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F84
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4a82;
/* rgb */ color: rgb(46, 74, 130);
/* oklch */ color: oklch(41.7% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ca7',
    500: '#2e4a82',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a82;
$custom-light: #6f7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a82",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 220,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.0997,
    "h": 262.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#2E4A82
secondary
#AE935D
accent
#AA50D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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