#2E6AC2#2E6AC2

#2E6AC2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.151 H 258.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2E6AC2
RGBrgb(46, 106, 194)
HSLhsl(216, 62%, 47%)
HSVhsv(216, 76%, 76%)
CMYKcmyk(76.3%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.33, 11.79, -51.62)
CIE-LCHlch(45.33, 52.94, 282.87°)
OKLaboklab(53.23% -0.0307 -0.148)
OKLCHoklch(53.23% 0.151 258.3)
XYZxyz(16.0148, 14.7821, 53.0377)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AC2 #C2862E
analogous
#2EB4C2 #2E6AC2 #3C2EC2
triadic
#2E6AC2 #C22E6A #6AC22E
tetradic
#2E6AC2 #C22EB4 #C2862E #2EC23C
square
#2E6AC2 #C22EB4 #C2862E #2EC23C
split-complementary
#2E6AC2 #C23C2E #B4C22E
monochromatic
#17345F #224F91 #2E6AC2 #568AD7 #88ADE3

Accessibility & contrast

On white

5.31
#2E6AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2E6AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AC2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AC2#FFFFFF#000000##FFFFFF
##2E6AC21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C5
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6ac2;
/* rgb */ color: rgb(46, 106, 194);
/* oklch */ color: oklch(53.2% 0.151 258.3);
Tailwind
colors: {
  custom: {
    50: '#7c94d5',
    500: '#2e6ac2',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ac2;
$custom-light: #7c94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ac2",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 215.676,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.15115,
    "h": 258.3
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#2E6AC2
secondary
#CCAD7F
accent
#A343E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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