#2E71D0#2E71D0

#2E71D0 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.162 H 257.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E71D0
RGBrgb(46, 113, 208)
HSLhsl(215, 64%, 50%)
HSVhsv(215, 78%, 82%)
CMYKcmyk(77.9%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.19, 12.64, -55.07)
CIE-LCHlch(48.19, 56.50, 282.92°)
OKLaboklab(55.71% -0.034 -0.158)
OKLCHoklch(55.71% 0.162 257.9)
XYZxyz(18.4128, 16.9430, 61.9622)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71D0 #D08D2E
analogous
#2EC2D0 #2E71D0 #3C2ED0
triadic
#2E71D0 #D02E71 #71D02E
tetradic
#2E71D0 #D02EC2 #D08D2E #2ED03C
square
#2E71D0 #D02EC2 #D08D2E #2ED03C
split-complementary
#2E71D0 #D03C2E #C2D02E
monochromatic
#183B6C #23569E #2E71D0 #5F93DC #92B5E7

Accessibility & contrast

On white

4.78
#2E71D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2E71D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71D0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71D0#FFFFFF#000000##FFFFFF
##2E71D01.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD4
Deuteranopia (green-blind)
#176CCE
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e71d0;
/* rgb */ color: rgb(46, 113, 208);
/* oklch */ color: oklch(55.7% 0.162 257.9);
Tailwind
colors: {
  custom: {
    50: '#7e99df',
    500: '#2e71d0',
    950: '#000000',
  },
}
SCSS
$custom: #2e71d0;
$custom-light: #7e99df;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71d0",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 215.185,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.16163,
    "h": 257.9
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#2E71D0
secondary
#D2B388
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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