#2E6BC2#2E6BC2

#2E6BC2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.150 H 257.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2E6BC2
RGBrgb(46, 107, 194)
HSLhsl(215, 62%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(76.3%, 44.8%, 0%, 23.9%)
CIE-LABlab(45.62, 11.15, -51.16)
CIE-LCHlch(45.62, 52.36, 282.30°)
OKLaboklab(53.45% -0.0316 -0.1466)
OKLCHoklch(53.45% 0.15 257.8)
XYZxyz(16.1184, 14.9894, 53.0722)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BC2 #C2852E
analogous
#2EB5C2 #2E6BC2 #3B2EC2
triadic
#2E6BC2 #C22E6B #6BC22E
tetradic
#2E6BC2 #C22EB5 #C2852E #2EC23B
square
#2E6BC2 #C22EB5 #C2852E #2EC23B
split-complementary
#2E6BC2 #C23B2E #B5C22E
monochromatic
#17345F #225091 #2E6BC2 #568BD7 #88ADE3

Accessibility & contrast

On white

5.25
#2E6BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2E6BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BC2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BC2#FFFFFF#000000##FFFFFF
##2E6BC21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6bc2;
/* rgb */ color: rgb(46, 107, 194);
/* oklch */ color: oklch(53.4% 0.150 257.8);
Tailwind
colors: {
  custom: {
    50: '#7c94d5',
    500: '#2e6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bc2;
$custom-light: #7c94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bc2",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 215.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.14999,
    "h": 257.8
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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