#2E71ED#2E71ED

#2E71ED is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.199 H 261.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2E71ED
RGBrgb(46, 113, 237)
HSLhsl(219, 84%, 55%)
HSVhsv(219, 81%, 93%)
CMYKcmyk(80.6%, 52.3%, 0%, 7.1%)
CIE-LABlab(50.10, 23.53, -68.36)
CIE-LCHlch(50.10, 72.30, 288.99°)
OKLaboklab(57.78% -0.03 -0.1971)
OKLCHoklch(57.78% 0.199 261.4)
XYZxyz(22.3124, 18.5028, 82.4998)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71ED #EDAA2E
analogous
#2ED0ED #2E71ED #4A2EED
triadic
#2E71ED #ED2E71 #71ED2E
tetradic
#2E71ED #ED2ED0 #EDAA2E #2EED4A
square
#2E71ED #ED2ED0 #EDAA2E #2EED4A
split-complementary
#2E71ED #ED4A2E #D0ED2E
monochromatic
#0D3C94 #1253CC #2E71ED #6697F2 #9FBEF7

Accessibility & contrast

On white

4.47
#2E71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2E71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E71ED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71ED#FFFFFF#000000##000000
##2E71ED1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E80F1
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e71ed;
/* rgb */ color: rgb(46, 113, 237);
/* oklch */ color: oklch(57.8% 0.199 261.4);
Tailwind
colors: {
  custom: {
    50: '#8599f4',
    500: '#2e71ed',
    950: '#000000',
  },
}
SCSS
$custom: #2e71ed;
$custom-light: #8599f4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71ed",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 218.953,
    "s": 84.141,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.19941,
    "h": 261.4
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#2E71ED
secondary
#E3C794
accent
#B22DFA
background
#F9F9FF
surface
#F1F2FE
border
#CBCCD6
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #2E71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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