#4D8AF0#4D8AF0

#4D8AF0 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.3% C 0.166 H 260.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4D8AF0
RGBrgb(77, 138, 240)
HSLhsl(218, 84%, 62%)
HSVhsv(218, 68%, 94%)
CMYKcmyk(67.9%, 42.5%, 0%, 5.9%)
CIE-LABlab(58.08, 12.88, -57.14)
CIE-LCHlch(58.08, 58.57, 282.70°)
OKLaboklab(64.26% -0.0286 -0.1632)
OKLCHoklch(64.26% 0.166 260.1)
XYZxyz(27.8716, 26.0432, 85.9791)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8AF0 #F0B34D
analogous
#4DDCF0 #4D8AF0 #624DF0
triadic
#4D8AF0 #F04D8A #8AF04D
tetradic
#4D8AF0 #F04DDC #F0B34D #4DF062
square
#4D8AF0 #F04DDC #F0B34D #4DF062
split-complementary
#4D8AF0 #F0624D #DCF04D
monochromatic
#0F4DB3 #1565EB #4D8AF0 #85AFF5 #BED4FA

Accessibility & contrast

On white

3.38
#4D8AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#4D8AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8AF0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8AF0#FFFFFF#000000##000000
##4D8AF01.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#3D85EE
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4d8af0;
/* rgb */ color: rgb(77, 138, 240);
/* oklch */ color: oklch(64.3% 0.166 260.1);
Tailwind
colors: {
  custom: {
    50: '#90abf5',
    500: '#4d8af0',
    950: '#000000',
  },
}
SCSS
$custom: #4d8af0;
$custom-light: #90abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8af0",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 240
  },
  "hsl": {
    "h": 217.546,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.16572,
    "h": 260.1
  },
  "luminance": 0.26046
}

Semantic roles & 50–950 ramp

primary
#4D8AF0
secondary
#EAD4AE
accent
#8E05E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4D8AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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