#4F7AEF#4F7AEF

#4F7AEF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.182 H 266.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4F7AEF
RGBrgb(79, 122, 239)
HSLhsl(224, 83%, 62%)
HSVhsv(224, 67%, 94%)
CMYKcmyk(66.9%, 49%, 0%, 6.3%)
CIE-LABlab(53.83, 22.59, -63.40)
CIE-LCHlch(53.83, 67.31, 289.61°)
OKLaboklab(61% -0.0128 -0.1819)
OKLCHoklch(61% 0.182 266)
XYZxyz(25.7586, 21.8108, 84.4970)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AEF #EFC44F
analogous
#4FCAEF #4F7AEF #744FEF
triadic
#4F7AEF #EF4F7A #7AEF4F
tetradic
#4F7AEF #EF4FCA #EFC44F #4FEF74
square
#4F7AEF #EF4FCA #EFC44F #4FEF74
split-complementary
#4F7AEF #EF744F #CAEF4F
monochromatic
#103CB3 #1750EA #4F7AEF #87A4F4 #BFCFF9

Accessibility & contrast

On white

3.92
#4F7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4F7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AEF#FFFFFF#000000##000000
##4F7AEF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7aef;
/* rgb */ color: rgb(79, 122, 239);
/* oklch */ color: oklch(61.0% 0.182 266.0);
Tailwind
colors: {
  custom: {
    50: '#919ff5',
    500: '#4f7aef',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aef;
$custom-light: #919ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aef",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 223.875,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.18231,
    "h": 266
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#4F7AEF
secondary
#EADAB0
accent
#A506E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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