#2E6AC4#2E6AC4

#2E6AC4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.154 H 258.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2E6AC4
RGBrgb(46, 106, 196)
HSLhsl(216, 62%, 47%)
HSVhsv(216, 77%, 77%)
CMYKcmyk(76.5%, 45.9%, 0%, 23.1%)
CIE-LABlab(45.46, 12.55, -52.57)
CIE-LCHlch(45.46, 54.05, 283.42°)
OKLaboklab(53.36% -0.0304 -0.1508)
OKLCHoklch(53.36% 0.154 258.6)
XYZxyz(16.2409, 14.8726, 54.2286)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AC4 #C4882E
analogous
#2EB5C4 #2E6AC4 #3D2EC4
triadic
#2E6AC4 #C42E6A #6AC42E
tetradic
#2E6AC4 #C42EB5 #C4882E #2EC43D
square
#2E6AC4 #C42EB5 #C4882E #2EC43D
split-complementary
#2E6AC4 #C43D2E #B5C42E
monochromatic
#173461 #224F92 #2E6AC4 #588BD8 #89ADE3

Accessibility & contrast

On white

5.28
#2E6AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2E6AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AC4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AC4#FFFFFF#000000##FFFFFF
##2E6AC41.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C7
Deuteranopia (green-blind)
#1665C2
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6ac4;
/* rgb */ color: rgb(46, 106, 196);
/* oklch */ color: oklch(53.4% 0.154 258.6);
Tailwind
colors: {
  custom: {
    50: '#7c94d6',
    500: '#2e6ac4',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ac4;
$custom-light: #7c94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ac4",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 216,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.15383,
    "h": 258.6
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#2E6AC4
secondary
#CDAF81
accent
#A443E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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