#2E6BCF#2E6BCF

#2E6BCF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.167 H 259.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2E6BCF
RGBrgb(46, 107, 207)
HSLhsl(217, 64%, 50%)
HSVhsv(217, 78%, 81%)
CMYKcmyk(77.8%, 48.3%, 0%, 18.8%)
CIE-LABlab(46.44, 16.06, -57.30)
CIE-LCHlch(46.44, 59.51, 285.66°)
OKLaboklab(54.35% -0.0294 -0.1647)
OKLCHoklch(54.35% 0.167 259.9)
XYZxyz(17.6428, 15.5992, 61.1005)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BCF #CF922E
analogous
#2EBCCF #2E6BCF #422ECF
triadic
#2E6BCF #CF2E6B #6BCF2E
tetradic
#2E6BCF #CF2EBC #CF922E #2ECF42
square
#2E6BCF #CF2EBC #CF922E #2ECF42
split-complementary
#2E6BCF #CF422E #BCCF2E
monochromatic
#18376B #23519D #2E6BCF #5F8EDB #91B1E7

Accessibility & contrast

On white

5.10
#2E6BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E6BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BCF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BCF#FFFFFF#000000##FFFFFF
##2E6BCF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e6bcf;
/* rgb */ color: rgb(46, 107, 207);
/* oklch */ color: oklch(54.3% 0.167 259.9);
Tailwind
colors: {
  custom: {
    50: '#7e94de',
    500: '#2e6bcf',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bcf;
$custom-light: #7e94de;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bcf",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 217.267,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.16731,
    "h": 259.9
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#2E6BCF
secondary
#D1B588
accent
#A841E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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