#2E6CC5#2E6CC5

#2E6CC5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.153 H 258.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E6CC5
RGBrgb(46, 108, 197)
HSLhsl(215, 62%, 48%)
HSVhsv(215, 77%, 77%)
CMYKcmyk(76.6%, 45.2%, 0%, 22.7%)
CIE-LABlab(46.09, 11.65, -52.13)
CIE-LCHlch(46.09, 53.42, 282.60°)
OKLaboklab(53.87% -0.0319 -0.1495)
OKLCHoklch(53.87% 0.153 258)
XYZxyz(16.5636, 15.3353, 54.8995)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CC5 #C5872E
analogous
#2EB8C5 #2E6CC5 #3B2EC5
triadic
#2E6CC5 #C52E6C #6CC52E
tetradic
#2E6CC5 #C52EB8 #C5872E #2EC53B
square
#2E6CC5 #C52EB8 #C5872E #2EC53B
split-complementary
#2E6CC5 #C53B2E #B8C52E
monochromatic
#173662 #225193 #2E6CC5 #588DD8 #8AAFE4

Accessibility & contrast

On white

5.16
#2E6CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E6CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CC5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CC5#FFFFFF#000000##FFFFFF
##2E6CC51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#1C67C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e6cc5;
/* rgb */ color: rgb(46, 108, 197);
/* oklch */ color: oklch(53.9% 0.153 258.0);
Tailwind
colors: {
  custom: {
    50: '#7c95d7',
    500: '#2e6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cc5;
$custom-light: #7c95d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cc5",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 215.364,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.15284,
    "h": 258
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#2E6CC5
secondary
#CEAE81
accent
#A243E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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