#2E6BC1#2E6BC1

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

Color values

HEX#2E6BC1
RGBrgb(46, 107, 193)
HSLhsl(215, 62%, 47%)
HSVhsv(215, 76%, 76%)
CMYKcmyk(76.2%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.56, 10.78, -50.68)
CIE-LCHlch(45.56, 51.81, 282.01°)
OKLaboklab(53.38% -0.0317 -0.1452)
OKLCHoklch(53.38% 0.149 257.7)
XYZxyz(16.0065, 14.9447, 52.4827)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BC1 #C1842E
analogous
#2EB5C1 #2E6BC1 #3B2EC1
triadic
#2E6BC1 #C12E6B #6BC12E
tetradic
#2E6BC1 #C12EB5 #C1842E #2EC13B
square
#2E6BC1 #C12EB5 #C1842E #2EC13B
split-complementary
#2E6BC1 #C13B2E #B5C12E
monochromatic
#16345E #225090 #2E6BC1 #568BD7 #87ADE2

Accessibility & contrast

On white

5.26
#2E6BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E6BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BC1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BC1#FFFFFF#000000##FFFFFF
##2E6BC11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#2166BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6bc1;
/* rgb */ color: rgb(46, 107, 193);
/* oklch */ color: oklch(53.4% 0.149 257.7);
Tailwind
colors: {
  custom: {
    50: '#7b94d4',
    500: '#2e6bc1',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bc1;
$custom-light: #7b94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bc1",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 215.102,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.14865,
    "h": 257.7
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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