#2E71DF#2E71DF

#2E71DF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.8% C 0.181 H 260.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2E71DF
RGBrgb(46, 113, 223)
HSLhsl(217, 73%, 53%)
HSVhsv(217, 79%, 87%)
CMYKcmyk(79.4%, 49.3%, 0%, 12.5%)
CIE-LABlab(49.15, 18.28, -62.03)
CIE-LCHlch(49.15, 64.67, 286.42°)
OKLaboklab(56.76% -0.0316 -0.1785)
OKLCHoklch(56.76% 0.181 260)
XYZxyz(20.3463, 17.7164, 72.1450)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E71DF #DF9C2E
analogous
#2ECADF #2E71DF #432EDF
triadic
#2E71DF #DF2E71 #71DF2E
tetradic
#2E71DF #DF2ECA #DF9C2E #2EDF43
square
#2E71DF #DF2ECA #DF9C2E #2EDF43
split-complementary
#2E71DF #DF432E #CADF2E
monochromatic
#133C7F #1C55B4 #2E71DF #6395E7 #98B9EF

Accessibility & contrast

On white

4.62
#2E71DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2E71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E71DF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E71DF#FFFFFF#000000##FFFFFF
##2E71DF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e71df;
/* rgb */ color: rgb(46, 113, 223);
/* oklch */ color: oklch(56.8% 0.181 260.0);
Tailwind
colors: {
  custom: {
    50: '#8299ea',
    500: '#2e71df',
    950: '#000000',
  },
}
SCSS
$custom: #2e71df;
$custom-light: #8299ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2e71df",
  "rgb": {
    "r": 46,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 217.288,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.18129,
    "h": 260
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#2E71DF
secondary
#DBBE8E
accent
#AA38F0
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2E71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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