#4F7EEA#4F7EEA

#4F7EEA is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.5% C 0.171 H 264.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4F7EEA
RGBrgb(79, 126, 234)
HSLhsl(222, 79%, 61%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66.2%, 46.2%, 0%, 8.2%)
CIE-LABlab(54.58, 18.40, -59.41)
CIE-LCHlch(54.58, 62.19, 287.21°)
OKLaboklab(61.47% -0.017 -0.17)
OKLCHoklch(61.47% 0.171 264.3)
XYZxyz(25.5314, 22.5220, 80.8276)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EEA #EABB4F
analogous
#4FCCEA #4F7EEA #6E4FEA
triadic
#4F7EEA #EA4F7E #7EEA4F
tetradic
#4F7EEA #EA4FCC #EABB4F #4FEA6E
square
#4F7EEA #EA4FCC #EABB4F #4FEA6E
split-complementary
#4F7EEA #EA6E4F #CCEA4F
monochromatic
#1442AA #1B57E1 #4F7EEA #86A6F1 #BCCEF7

Accessibility & contrast

On white

3.81
#4F7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4F7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EEA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EEA#FFFFFF#000000##000000
##4F7EEA1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7eea;
/* rgb */ color: rgb(79, 126, 234);
/* oklch */ color: oklch(61.5% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#90a2f1',
    500: '#4f7eea',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eea;
$custom-light: #90a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eea",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 221.806,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.1709,
    "h": 264.3
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#4F7EEA
secondary
#E7D6AD
accent
#9C0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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