#4F8BEA#4F8BEA

#4F8BEA is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.2% C 0.156 H 259.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8BEA
RGBrgb(79, 139, 234)
HSLhsl(217, 79%, 61%)
HSVhsv(217, 66%, 92%)
CMYKcmyk(66.2%, 40.6%, 0%, 8.2%)
CIE-LABlab(58.10, 10.52, -53.77)
CIE-LCHlch(58.10, 54.79, 281.07°)
OKLaboklab(64.19% -0.0291 -0.1533)
OKLCHoklch(64.19% 0.156 259.2)
XYZxyz(27.3030, 26.0653, 81.4182)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8BEA #EAAE4F
analogous
#4FD9EA #4F8BEA #614FEA
triadic
#4F8BEA #EA4F8B #8BEA4F
tetradic
#4F8BEA #EA4FD9 #EAAE4F #4FEA61
square
#4F8BEA #EA4FD9 #EAAE4F #4FEA61
split-complementary
#4F8BEA #EA614F #D9EA4F
monochromatic
#144EAA #1B68E1 #4F8BEA #86AFF1 #BCD3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8BEA#FFFFFF#000000##000000
##4F8BEA1.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)
#5F93EE
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#00A1AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8bea;
/* rgb */ color: rgb(79, 139, 234);
/* oklch */ color: oklch(64.2% 0.156 259.2);
Tailwind
colors: {
  custom: {
    50: '#8facf1',
    500: '#4f8bea',
    950: '#000000',
  },
}
SCSS
$custom: #4f8bea;
$custom-light: #8facf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8bea",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 216.774,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.15605,
    "h": 259.2
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#4F8BEA
secondary
#E7D1AD
accent
#8A0BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4F8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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