#2E6BD3#2E6BD3

#2E6BD3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.173 H 260.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2E6BD3
RGBrgb(46, 107, 211)
HSLhsl(218, 65%, 50%)
HSVhsv(218, 78%, 83%)
CMYKcmyk(78.2%, 49.3%, 0%, 17.3%)
CIE-LABlab(46.71, 17.57, -59.16)
CIE-LCHlch(46.71, 61.72, 286.54°)
OKLaboklab(54.63% -0.0288 -0.1702)
OKLCHoklch(54.63% 0.173 260.4)
XYZxyz(18.1380, 15.7972, 63.7086)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BD3 #D3962E
analogous
#2EBDD3 #2E6BD3 #432ED3
triadic
#2E6BD3 #D32E6B #6BD32E
tetradic
#2E6BD3 #D32EBD #D3962E #2ED343
square
#2E6BD3 #D32EBD #D3962E #2ED343
split-complementary
#2E6BD3 #D3432E #BDD32E
monochromatic
#17386F #2251A2 #2E6BD3 #618FDE #93B3E8

Accessibility & contrast

On white

5.05
#2E6BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2E6BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BD3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BD3#FFFFFF#000000##FFFFFF
##2E6BD31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e6bd3;
/* rgb */ color: rgb(46, 107, 211);
/* oklch */ color: oklch(54.6% 0.173 260.4);
Tailwind
colors: {
  custom: {
    50: '#7f94e1',
    500: '#2e6bd3',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bd3;
$custom-light: #7f94e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bd3",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 211
  },
  "hsl": {
    "h": 217.818,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.17261,
    "h": 260.4
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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