#4E70FC#4E70FC

#4E70FC is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.0% C 0.212 H 268.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E70FC
RGBrgb(78, 112, 252)
HSLhsl(228, 97%, 65%)
HSVhsv(228, 69%, 99%)
CMYKcmyk(69%, 55.6%, 0%, 1.2%)
CIE-LABlab(52.10, 33.11, -73.42)
CIE-LCHlch(52.10, 80.54, 294.27°)
OKLaboklab(59.96% -0.0044 -0.2115)
OKLCHoklch(59.96% 0.212 268.8)
XYZxyz(26.5007, 20.2337, 94.5855)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70FC #FCDA4E
analogous
#4EC7FC #4E70FC #834EFC
triadic
#4E70FC #FC4E70 #70FC4E
tetradic
#4E70FC #FC4EC7 #FCDA4E #4EFC83
square
#4E70FC #FC4EC7 #FCDA4E #4EFC83
split-complementary
#4E70FC #FC834E #C7FC4E
monochromatic
#032BCC #123FFB #4E70FC #8AA1FD #C6D1FE

Accessibility & contrast

On white

4.16
#4E70FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E70FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70FC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70FC#FFFFFF#000000##000000
##4E70FC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e70fc;
/* rgb */ color: rgb(78, 112, 252);
/* oklch */ color: oklch(60.0% 0.212 268.8);
Tailwind
colors: {
  custom: {
    50: '#9398fe',
    500: '#4e70fc',
    950: '#000000',
  },
}
SCSS
$custom: #4e70fc;
$custom-light: #9398fe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70fc",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 228.276,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.21154,
    "h": 268.8
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#4E70FC
secondary
#F1E5B5
accent
#B900E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D18
muted
#7E7E86

Preview Lab

Preview with #4E70FC

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

Preview Lab → · Contrast checker → · Palette generator →

#4E70FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva