#2E4986#2E4986

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

Color values

HEX#2E4986
RGBrgb(46, 73, 134)
HSLhsl(222, 49%, 35%)
HSVhsv(222, 66%, 53%)
CMYKcmyk(65.7%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.96, 10.67, -37.29)
CIE-LCHlch(31.96, 38.78, 285.97°)
OKLaboklab(41.71% -0.0106 -0.1064)
OKLCHoklch(41.71% 0.107 264.3)
XYZxyz(7.8108, 7.0664, 23.5020)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4986 #866B2E
analogous
#2E7586 #2E4986 #3F2E86
triadic
#2E4986 #862E49 #49862E
tetradic
#2E4986 #862E75 #866B2E #2E863F
square
#2E4986 #862E75 #866B2E #2E863F
split-complementary
#2E4986 #863F2E #75862E
monochromatic
#0F172B #1E3058 #2E4986 #3E62B4 #6484CA

Accessibility & contrast

On white

8.70
#2E4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E4986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4986
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4986#FFFFFF#000000##FFFFFF
##2E49861.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4986;
/* rgb */ color: rgb(46, 73, 134);
/* oklch */ color: oklch(41.7% 0.107 264.3);
Tailwind
colors: {
  custom: {
    50: '#707baa',
    500: '#2e4986',
    950: '#000000',
  },
}
SCSS
$custom: #2e4986;
$custom-light: #707baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4986",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 221.591,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.10696,
    "h": 264.3
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#2E4986
secondary
#B1985F
accent
#AE4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4986

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

Preview Lab → · Contrast checker → · Palette generator →

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