#4A7EDE#4A7EDE

#4A7EDE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.156 H 261.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7EDE
RGBrgb(74, 126, 222)
HSLhsl(219, 69%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.7%, 43.2%, 0%, 12.9%)
CIE-LABlab(53.65, 13.44, -54.18)
CIE-LCHlch(53.65, 55.82, 283.93°)
OKLaboklab(60.48% -0.0231 -0.1548)
OKLCHoklch(60.48% 0.156 261.5)
XYZxyz(23.4650, 21.6492, 72.0352)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EDE #DEAA4A
analogous
#4AC8DE #4A7EDE #604ADE
triadic
#4A7EDE #DE4A7E #7EDE4A
tetradic
#4A7EDE #DE4AC8 #DEAA4A #4ADE60
square
#4A7EDE #DE4AC8 #DEAA4A #4ADE60
split-complementary
#4A7EDE #DE604A #C8DE4A
monochromatic
#1B4593 #245DC7 #4A7EDE #7EA3E7 #B2C8F1

Accessibility & contrast

On white

3.94
#4A7EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4A7EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EDE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EDE#FFFFFF#000000##000000
##4A7EDE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5088E2
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ede;
/* rgb */ color: rgb(74, 126, 222);
/* oklch */ color: oklch(60.5% 0.156 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2e9',
    500: '#4a7ede',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ede;
$custom-light: #8ba2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ede",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 218.919,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.15648,
    "h": 261.5
  },
  "luminance": 0.21651
}

Semantic roles & 50–950 ramp

primary
#4A7EDE
secondary
#DFCBA4
accent
#AE3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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