#4A8DEC#4A8DEC

#4A8DEC is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.5% C 0.158 H 257.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4A8DEC
RGBrgb(74, 141, 236)
HSLhsl(215, 81%, 61%)
HSVhsv(215, 69%, 93%)
CMYKcmyk(68.6%, 40.3%, 0%, 7.5%)
CIE-LABlab(58.56, 9.24, -54.15)
CIE-LCHlch(58.56, 54.94, 279.68°)
OKLaboklab(64.53% -0.0343 -0.1545)
OKLCHoklch(64.53% 0.158 257.5)
XYZxyz(27.4837, 26.5589, 83.0186)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8DEC #ECA94A
analogous
#4ADEEC #4A8DEC #584AEC
triadic
#4A8DEC #EC4A8D #8DEC4A
tetradic
#4A8DEC #EC4ADE #ECA94A #4AEC58
square
#4A8DEC #EC4ADE #ECA94A #4AEC58
split-complementary
#4A8DEC #EC584A #DEEC4A
monochromatic
#1251AA #186BE1 #4A8DEC #81B0F2 #B9D3F8

Accessibility & contrast

On white

3.33
#4A8DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4A8DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8DEC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8DEC#FFFFFF#000000##000000
##4A8DEC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#00A3B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4a8dec;
/* rgb */ color: rgb(74, 141, 236);
/* oklch */ color: oklch(64.5% 0.158 257.5);
Tailwind
colors: {
  custom: {
    50: '#8eadf2',
    500: '#4a8dec',
    950: '#000000',
  },
}
SCSS
$custom: #4a8dec;
$custom-light: #8eadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8dec",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 215.185,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.15823,
    "h": 257.5
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#4A8DEC
secondary
#E8CEAA
accent
#8508DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4A8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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