#2E6FD3#2E6FD3

#2E6FD3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.168 H 259.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2E6FD3
RGBrgb(46, 111, 211)
HSLhsl(216, 65%, 50%)
HSVhsv(216, 78%, 83%)
CMYKcmyk(78.2%, 47.4%, 0%, 17.3%)
CIE-LABlab(47.82, 15.03, -57.37)
CIE-LCHlch(47.82, 59.31, 284.68°)
OKLaboklab(55.48% -0.0319 -0.1648)
OKLCHoklch(55.48% 0.168 259.1)
XYZxyz(18.5647, 16.6507, 63.8509)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6FD3 #D3922E
analogous
#2EC1D3 #2E6FD3 #402ED3
triadic
#2E6FD3 #D32E6F #6FD32E
tetradic
#2E6FD3 #D32EC1 #D3922E #2ED340
square
#2E6FD3 #D32EC1 #D3922E #2ED340
split-complementary
#2E6FD3 #D3402E #C1D32E
monochromatic
#173A6F #2254A2 #2E6FD3 #6192DE #93B5E8

Accessibility & contrast

On white

4.85
#2E6FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2E6FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6FD3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6FD3#FFFFFF#000000##FFFFFF
##2E6FD31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e6fd3;
/* rgb */ color: rgb(46, 111, 211);
/* oklch */ color: oklch(55.5% 0.168 259.1);
Tailwind
colors: {
  custom: {
    50: '#7f97e1',
    500: '#2e6fd3',
    950: '#000000',
  },
}
SCSS
$custom: #2e6fd3;
$custom-light: #7f97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6fd3",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 216.364,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.1679,
    "h": 259.1
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#2E6FD3
secondary
#D3B68A
accent
#A640E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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