#2E4E86#2E4E86

#2E4E86 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.101 H 260.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4E86
RGBrgb(46, 78, 134)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 66%, 53%)
CMYKcmyk(65.7%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.46, 7.33, -34.89)
CIE-LCHlch(33.46, 35.66, 281.87°)
OKLaboklab(42.86% -0.0161 -0.0993)
OKLCHoklch(42.86% 0.101 260.8)
XYZxyz(8.1527, 7.7501, 23.6159)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E86 #86662E
analogous
#2E7A86 #2E4E86 #3A2E86
triadic
#2E4E86 #862E4E #4E862E
tetradic
#2E4E86 #862E7A #86662E #2E863A
square
#2E4E86 #862E7A #86662E #2E863A
split-complementary
#2E4E86 #863A2E #7A862E
monochromatic
#0F192B #1E3358 #2E4E86 #3E69B4 #6489CA

Accessibility & contrast

On white

8.23
#2E4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E86
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E86#FFFFFF#000000##FFFFFF
##2E4E861.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4e86;
/* rgb */ color: rgb(46, 78, 134);
/* oklch */ color: oklch(42.9% 0.101 260.8);
Tailwind
colors: {
  custom: {
    50: '#707fa9',
    500: '#2e4e86',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e86;
$custom-light: #707fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e86",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 218.182,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.10063,
    "h": 260.8
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#2E4E86
secondary
#B1935F
accent
#A74FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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