#2E71FF#2E71FF

#2E71FF is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 59.2% C 0.222 H 262.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2E71FF
RGBrgb(46, 113, 255)
HSLhsl(221, 100%, 59%)
HSVhsv(221, 82%, 100%)
CMYKcmyk(82%, 55.7%, 0%, 0%)
CIE-LABlab(51.39, 30.20, -76.28)
CIE-LCHlch(51.39, 82.05, 291.60°)
OKLaboklab(59.17% -0.0284 -0.2204)
OKLCHoklch(59.17% 0.222 262.6)
XYZxyz(25.0754, 19.6080, 97.0515)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71FF #FFBC2E
analogous
#2ED9FF #2E71FF #542EFF
triadic
#2E71FF #FF2E71 #71FF2E
tetradic
#2E71FF #FF2ED9 #FFBC2E #2EFF54
square
#2E71FF #FF2ED9 #FFBC2E #2EFF54
split-complementary
#2E71FF #FF542E #D9FF2E
monochromatic
#0039B3 #004DF0 #2E71FF #6B9BFF #A8C4FF

Accessibility & contrast

On white

4.27
#2E71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2E71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E71FF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71FF#FFFFFF#000000##000000
##2E71FF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#0095AD
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e71ff;
/* rgb */ color: rgb(46, 113, 255);
/* oklch */ color: oklch(59.2% 0.222 262.6);
Tailwind
colors: {
  custom: {
    50: '#8999ff',
    500: '#2e71ff',
    950: '#000000',
  },
}
SCSS
$custom: #2e71ff;
$custom-light: #8999ff;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71ff",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 220.766,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.22226,
    "h": 262.6
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#2E71FF
secondary
#EDD39B
accent
#BA29FF
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D18
muted
#7E7E86

Preview Lab

Preview with #2E71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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