#4A7DE4#4A7DE4

#4A7DE4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.166 H 262.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4A7DE4
RGBrgb(74, 125, 228)
HSLhsl(220, 74%, 59%)
HSVhsv(220, 68%, 89%)
CMYKcmyk(67.5%, 45.2%, 0%, 10.6%)
CIE-LABlab(53.73, 16.15, -57.42)
CIE-LCHlch(53.73, 59.65, 285.71°)
OKLaboklab(60.65% -0.0211 -0.1643)
OKLCHoklch(60.65% 0.166 262.7)
XYZxyz(24.1563, 21.7221, 76.3035)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DE4 #E4B14A
analogous
#4ACAE4 #4A7DE4 #644AE4
triadic
#4A7DE4 #E44A7D #7DE44A
tetradic
#4A7DE4 #E44ACA #E4B14A #4AE464
square
#4A7DE4 #E44ACA #E4B14A #4AE464
split-complementary
#4A7DE4 #E4644A #CAE44A
monochromatic
#17439C #1F5AD2 #4A7DE4 #7FA3EC #B5CAF4

Accessibility & contrast

On white

3.93
#4A7DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4A7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DE4#FFFFFF#000000##000000
##4A7DE41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7de4;
/* rgb */ color: rgb(74, 125, 228);
/* oklch */ color: oklch(60.7% 0.166 262.7);
Tailwind
colors: {
  custom: {
    50: '#8da2ed',
    500: '#4a7de4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7de4;
$custom-light: #8da2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7de4",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 220.13,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.16566,
    "h": 262.7
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#4A7DE4
secondary
#E3CFA7
accent
#B337F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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