#2E4686#2E4686

#2E4686 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.111 H 266.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2E4686
RGBrgb(46, 70, 134)
HSLhsl(224, 49%, 35%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(65.7%, 47.8%, 0%, 47.5%)
CIE-LABlab(31.07, 12.69, -38.71)
CIE-LCHlch(31.07, 40.73, 288.15°)
OKLaboklab(41.03% -0.0074 -0.1106)
OKLCHoklch(41.03% 0.111 266.2)
XYZxyz(7.6185, 6.6817, 23.4378)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4686 #866E2E
analogous
#2E7286 #2E4686 #422E86
triadic
#2E4686 #862E46 #46862E
tetradic
#2E4686 #862E72 #866E2E #2E8642
square
#2E4686 #862E72 #866E2E #2E8642
split-complementary
#2E4686 #86422E #72862E
monochromatic
#0F162B #1E2E58 #2E4686 #3E5EB4 #6480CA

Accessibility & contrast

On white

8.99
#2E4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4686
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4686#FFFFFF#000000##FFFFFF
##2E46861.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#174585
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4686;
/* rgb */ color: rgb(46, 70, 134);
/* oklch */ color: oklch(41.0% 0.111 266.2);
Tailwind
colors: {
  custom: {
    50: '#7079aa',
    500: '#2e4686',
    950: '#000000',
  },
}
SCSS
$custom: #2e4686;
$custom-light: #7079aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4686",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 223.636,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.1109,
    "h": 266.2
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#2E4686
secondary
#B19A5F
accent
#B34FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4686

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

Preview Lab → · Contrast checker → · Palette generator →

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