#2E6CD3#2E6CD3

#2E6CD3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.171 H 260.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2E6CD3
RGBrgb(46, 108, 211)
HSLhsl(217, 65%, 50%)
HSVhsv(217, 78%, 83%)
CMYKcmyk(78.2%, 48.8%, 0%, 17.3%)
CIE-LABlab(46.98, 16.94, -58.72)
CIE-LCHlch(46.98, 61.11, 286.09°)
OKLaboklab(54.84% -0.0296 -0.1688)
OKLCHoklch(54.84% 0.171 260.1)
XYZxyz(18.2429, 16.0070, 63.7436)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CD3 #D3952E
analogous
#2EBED3 #2E6CD3 #432ED3
triadic
#2E6CD3 #D32E6C #6CD32E
tetradic
#2E6CD3 #D32EBE #D3952E #2ED343
square
#2E6CD3 #D32EBE #D3952E #2ED343
split-complementary
#2E6CD3 #D3432E #BED32E
monochromatic
#17386F #2252A2 #2E6CD3 #6190DE #93B3E8

Accessibility & contrast

On white

5.00
#2E6CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2E6CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CD3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CD3#FFFFFF#000000##FFFFFF
##2E6CD31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e6cd3;
/* rgb */ color: rgb(46, 108, 211);
/* oklch */ color: oklch(54.8% 0.171 260.1);
Tailwind
colors: {
  custom: {
    50: '#7f95e1',
    500: '#2e6cd3',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cd3;
$custom-light: #7f95e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cd3",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 217.455,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.17142,
    "h": 260.1
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#2E6CD3
secondary
#D3B88A
accent
#A940E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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