#4F8CEC#4F8CEC

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

Color values

HEX#4F8CEC
RGBrgb(79, 140, 236)
HSLhsl(217, 81%, 62%)
HSVhsv(217, 67%, 93%)
CMYKcmyk(66.5%, 40.7%, 0%, 7.5%)
CIE-LABlab(58.48, 10.61, -54.27)
CIE-LCHlch(58.48, 55.30, 281.06°)
OKLaboklab(64.52% -0.0297 -0.1548)
OKLCHoklch(64.52% 0.158 259.1)
XYZxyz(27.7374, 26.4718, 82.9884)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CEC #ECAF4F
analogous
#4FDBEC #4F8CEC #614FEC
triadic
#4F8CEC #EC4F8C #8CEC4F
tetradic
#4F8CEC #EC4FDB #ECAF4F #4FEC61
square
#4F8CEC #EC4FDB #ECAF4F #4FEC61
split-complementary
#4F8CEC #EC614F #DBEC4F
monochromatic
#134FAE #1968E5 #4F8CEC #86B0F2 #BDD4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8CEC#FFFFFF#000000##000000
##4F8CEC1.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)
#6095F0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f8cec;
/* rgb */ color: rgb(79, 140, 236);
/* oklch */ color: oklch(64.5% 0.158 259.1);
Tailwind
colors: {
  custom: {
    50: '#90adf2',
    500: '#4f8cec',
    950: '#000000',
  },
}
SCSS
$custom: #4f8cec;
$custom-light: #90adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8cec",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 216.688,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.15758,
    "h": 259.1
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#4F8CEC
secondary
#E8D2AE
accent
#8A09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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