#2E6AD0#2E6AD0

#2E6AD0 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.2% C 0.170 H 260.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2E6AD0
RGBrgb(46, 106, 208)
HSLhsl(218, 64%, 50%)
HSVhsv(218, 78%, 82%)
CMYKcmyk(77.9%, 49%, 0%, 18.4%)
CIE-LABlab(46.23, 17.08, -58.22)
CIE-LCHlch(46.23, 60.67, 286.35°)
OKLaboklab(54.2% -0.0285 -0.1674)
OKLCHoklch(54.2% 0.17 260.3)
XYZxyz(17.6618, 15.4409, 61.7118)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AD0 #D0942E
analogous
#2EBBD0 #2E6AD0 #432ED0
triadic
#2E6AD0 #D02E6A #6AD02E
tetradic
#2E6AD0 #D02EBB #D0942E #2ED043
square
#2E6AD0 #D02EBB #D0942E #2ED043
split-complementary
#2E6AD0 #D0432E #BBD02E
monochromatic
#18376C #23509E #2E6AD0 #5F8DDC #92B1E7

Accessibility & contrast

On white

5.14
#2E6AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2E6AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AD0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AD0#FFFFFF#000000##FFFFFF
##2E6AD01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D4
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e6ad0;
/* rgb */ color: rgb(46, 106, 208);
/* oklch */ color: oklch(54.2% 0.170 260.3);
Tailwind
colors: {
  custom: {
    50: '#7f93df',
    500: '#2e6ad0',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ad0;
$custom-light: #7f93df;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ad0",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 208
  },
  "hsl": {
    "h": 217.778,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.16983,
    "h": 260.3
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#2E6AD0
secondary
#D2B688
accent
#A941E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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