#4A7DE9#4A7DE9

#4A7DE9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.172 H 263.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A7DE9
RGBrgb(74, 125, 233)
HSLhsl(221, 78%, 60%)
HSVhsv(221, 68%, 91%)
CMYKcmyk(68.2%, 46.4%, 0%, 8.6%)
CIE-LABlab(54.03, 17.90, -59.74)
CIE-LCHlch(54.03, 62.36, 286.68°)
OKLaboklab(60.98% -0.0204 -0.1711)
OKLCHoklch(60.98% 0.172 263.2)
XYZxyz(24.8604, 22.0038, 80.0120)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DE9 #E9B64A
analogous
#4ACCE9 #4A7DE9 #674AE9
triadic
#4A7DE9 #E94A7D #7DE94A
tetradic
#4A7DE9 #E94ACC #E9B64A #4AE967
square
#4A7DE9 #E94ACC #E9B64A #4AE967
split-complementary
#4A7DE9 #E9674A #CCE94A
monochromatic
#1442A5 #1B58DB #4A7DE9 #81A4F0 #B7CBF6

Accessibility & contrast

On white

3.89
#4A7DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4A7DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DE9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DE9#FFFFFF#000000##000000
##4A7DE91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589ED
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7de9;
/* rgb */ color: rgb(74, 125, 233);
/* oklch */ color: oklch(61.0% 0.172 263.2);
Tailwind
colors: {
  custom: {
    50: '#8da2f1',
    500: '#4a7de9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7de9;
$custom-light: #8da2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7de9",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 233
  },
  "hsl": {
    "h": 220.755,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.17233,
    "h": 263.2
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#4A7DE9
secondary
#E6D2A9
accent
#980BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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