#2E6BC3#2E6BC3

#2E6BC3 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.151 H 258.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2E6BC3
RGBrgb(46, 107, 195)
HSLhsl(215, 62%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(76.4%, 45.1%, 0%, 23.5%)
CIE-LABlab(45.68, 11.53, -51.64)
CIE-LCHlch(45.68, 52.91, 282.59°)
OKLaboklab(53.51% -0.0314 -0.148)
OKLCHoklch(53.51% 0.151 258)
XYZxyz(16.2311, 15.0345, 53.6657)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BC3 #C3862E
analogous
#2EB6C3 #2E6BC3 #3B2EC3
triadic
#2E6BC3 #C32E6B #6BC32E
tetradic
#2E6BC3 #C32EB6 #C3862E #2EC33B
square
#2E6BC3 #C32EB6 #C3862E #2EC33B
split-complementary
#2E6BC3 #C33B2E #B6C32E
monochromatic
#173560 #225091 #2E6BC3 #578BD7 #88ADE3

Accessibility & contrast

On white

5.24
#2E6BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E6BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BC3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BC3#FFFFFF#000000##FFFFFF
##2E6BC31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e6bc3;
/* rgb */ color: rgb(46, 107, 195);
/* oklch */ color: oklch(53.5% 0.151 258.0);
Tailwind
colors: {
  custom: {
    50: '#7c94d6',
    500: '#2e6bc3',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bc3;
$custom-light: #7c94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bc3",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 215.436,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.15132,
    "h": 258
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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