#4746EB#4746EB

#4746EB is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.239 H 274.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4746EB
RGBrgb(71, 70, 235)
HSLhsl(240, 80%, 60%)
HSVhsv(240, 70%, 92%)
CMYKcmyk(69.8%, 70.2%, 0%, 7.8%)
CIE-LABlab(40.76, 51.63, -82.46)
CIE-LCHlch(40.76, 97.29, 302.06°)
OKLaboklab(51.11% 0.0175 -0.2384)
OKLCHoklch(51.11% 0.239 274.2)
XYZxyz(19.7791, 11.7162, 79.8002)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4746EB #EAEB46
analogous
#4697EB #4746EB #9A46EB
triadic
#4746EB #EB4746 #46EB47
tetradic
#4746EB #EB4697 #EAEB46 #46EB9A
square
#4746EB #EB4697 #EAEB46 #46EB9A
split-complementary
#4746EB #EB9A46 #97EB46
monochromatic
#1312A5 #1918DC #4746EB #7E7DF1 #B5B4F7

Accessibility & contrast

On white

6.28
#4746EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4746EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4746EB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4746EB#FFFFFF#000000##FFFFFF
##4746EB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F0
Deuteranopia (green-blind)
#0058E8
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4746eb;
/* rgb */ color: rgb(71, 70, 235);
/* oklch */ color: oklch(51.1% 0.239 274.2);
Tailwind
colors: {
  custom: {
    50: '#907bf3',
    500: '#4746eb',
    950: '#000000',
  },
}
SCSS
$custom: #4746eb;
$custom-light: #907bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4746eb",
  "rgb": {
    "r": 71,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 240.364,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.23904,
    "h": 274.2
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#4746EB
secondary
#E6E6A7
accent
#F731F6
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4746EB

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

Preview Lab → · Contrast checker → · Palette generator →

#4746EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva