#4A8CEF#4A8CEF

#4A8CEF is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.163 H 258.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4A8CEF
RGBrgb(74, 140, 239)
HSLhsl(216, 84%, 61%)
HSVhsv(216, 69%, 94%)
CMYKcmyk(69%, 41.4%, 0%, 6.3%)
CIE-LABlab(58.45, 10.89, -55.99)
CIE-LCHlch(58.45, 57.04, 281.00°)
OKLaboklab(64.5% -0.0328 -0.1599)
OKLCHoklch(64.5% 0.163 258.4)
XYZxyz(27.7765, 26.4411, 85.2844)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8CEF #EFAD4A
analogous
#4ADFEF #4A8CEF #5B4AEF
triadic
#4A8CEF #EF4A8C #8CEF4A
tetradic
#4A8CEF #EF4ADF #EFAD4A #4AEF5B
square
#4A8CEF #EF4ADF #EFAD4A #4AEF5B
split-complementary
#4A8CEF #EF5B4A #DFEF4A
monochromatic
#0F4FAF #1469E7 #4A8CEF #82B0F4 #BAD3F9

Accessibility & contrast

On white

3.34
#4A8CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#4A8CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8CEF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8CEF#FFFFFF#000000##000000
##4A8CEF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#4285ED
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4a8cef;
/* rgb */ color: rgb(74, 140, 239);
/* oklch */ color: oklch(64.5% 0.163 258.4);
Tailwind
colors: {
  custom: {
    50: '#8eadf5',
    500: '#4a8cef',
    950: '#000000',
  },
}
SCSS
$custom: #4a8cef;
$custom-light: #8eadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8cef",
  "rgb": {
    "r": 74,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 216,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.16321,
    "h": 258.4
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#4A8CEF
secondary
#E9D1AC
accent
#8905E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4A8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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