#2E71FB#2E71FB

#2E71FB is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 58.9% C 0.217 H 262.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2E71FB
RGBrgb(46, 113, 251)
HSLhsl(220, 96%, 58%)
HSVhsv(220, 82%, 98%)
CMYKcmyk(81.7%, 55%, 0%, 1.6%)
CIE-LABlab(51.10, 28.73, -74.55)
CIE-LCHlch(51.10, 79.89, 291.07°)
OKLaboklab(58.85% -0.0287 -0.2153)
OKLCHoklch(58.85% 0.217 262.4)
XYZxyz(24.4382, 19.3531, 93.6956)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71FB #FBB82E
analogous
#2ED8FB #2E71FB #512EFB
triadic
#2E71FB #FB2E71 #71FB2E
tetradic
#2E71FB #FB2ED8 #FBB82E #2EFB51
square
#2E71FB #FB2ED8 #FBB82E #2EFB51
split-complementary
#2E71FB #FB512E #D8FB2E
monochromatic
#033AAB #044FE7 #2E71FB #6A9AFC #A6C3FD

Accessibility & contrast

On white

4.31
#2E71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2E71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E71FB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71FB#FFFFFF#000000##000000
##2E71FB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0071F8
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e71fb;
/* rgb */ color: rgb(46, 113, 251);
/* oklch */ color: oklch(58.9% 0.217 262.4);
Tailwind
colors: {
  custom: {
    50: '#8899fe',
    500: '#2e71fb',
    950: '#000000',
  },
}
SCSS
$custom: #2e71fb;
$custom-light: #8899fe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71fb",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 220.39,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.21723,
    "h": 262.4
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#2E71FB
secondary
#EBD19A
accent
#B929FF
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D18
muted
#7E7E86

Preview Lab

Preview with #2E71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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