#2E6AC5#2E6AC5

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

Color values

HEX#2E6AC5
RGBrgb(46, 106, 197)
HSLhsl(216, 62%, 48%)
HSVhsv(216, 77%, 77%)
CMYKcmyk(76.6%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.52, 12.92, -53.04)
CIE-LCHlch(45.52, 54.60, 283.69°)
OKLaboklab(53.43% -0.0302 -0.1522)
OKLCHoklch(53.43% 0.155 258.8)
XYZxyz(16.3551, 14.9182, 54.8300)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AC5 #C5892E
analogous
#2EB5C5 #2E6AC5 #3D2EC5
triadic
#2E6AC5 #C52E6A #6AC52E
tetradic
#2E6AC5 #C52EB5 #C5892E #2EC53D
square
#2E6AC5 #C52EB5 #C5892E #2EC53D
split-complementary
#2E6AC5 #C53D2E #B5C52E
monochromatic
#173562 #224F93 #2E6AC5 #588BD8 #8AADE4

Accessibility & contrast

On white

5.27
#2E6AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2E6AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AC5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AC5#FFFFFF#000000##FFFFFF
##2E6AC51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3973C8
Deuteranopia (green-blind)
#1465C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6ac5;
/* rgb */ color: rgb(46, 106, 197);
/* oklch */ color: oklch(53.4% 0.155 258.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d7',
    500: '#2e6ac5',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ac5;
$custom-light: #7c94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ac5",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 216.159,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.15517,
    "h": 258.8
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#2E6AC5
secondary
#CEAF81
accent
#A543E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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