#2E72D4#2E72D4

#2E72D4 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.166 H 258.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2E72D4
RGBrgb(46, 114, 212)
HSLhsl(215, 66%, 51%)
HSVhsv(215, 78%, 83%)
CMYKcmyk(78.3%, 46.2%, 0%, 16.9%)
CIE-LABlab(48.72, 13.51, -56.49)
CIE-LCHlch(48.72, 58.09, 283.45°)
OKLaboklab(56.2% -0.0341 -0.1622)
OKLCHoklch(56.2% 0.166 258.1)
XYZxyz(19.0233, 17.3667, 64.6241)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E72D4 #D4902E
analogous
#2EC5D4 #2E72D4 #3D2ED4
triadic
#2E72D4 #D42E72 #72D42E
tetradic
#2E72D4 #D42EC5 #D4902E #2ED43D
square
#2E72D4 #D42EC5 #D4902E #2ED43D
split-complementary
#2E72D4 #D43D2E #C5D42E
monochromatic
#173C70 #2257A3 #2E72D4 #6194DE #94B6E9

Accessibility & contrast

On white

4.69
#2E72D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2E72D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E72D4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E72D4#FFFFFF#000000##FFFFFF
##2E72D41.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#0F6DD2
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e72d4;
/* rgb */ color: rgb(46, 114, 212);
/* oklch */ color: oklch(56.2% 0.166 258.1);
Tailwind
colors: {
  custom: {
    50: '#7f99e2',
    500: '#2e72d4',
    950: '#000000',
  },
}
SCSS
$custom: #2e72d4;
$custom-light: #7f99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e72d4",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 215.422,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.16573,
    "h": 258.1
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#2E72D4
secondary
#D4B68A
accent
#A33FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E72D4

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

Preview Lab → · Contrast checker → · Palette generator →

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