#4F7DEA#4F7DEA

#4F7DEA is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.172 H 264.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F7DEA
RGBrgb(79, 125, 234)
HSLhsl(222, 79%, 61%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66.2%, 46.6%, 0%, 8.2%)
CIE-LABlab(54.31, 19.02, -59.84)
CIE-LCHlch(54.31, 62.79, 287.63°)
OKLaboklab(61.27% -0.0161 -0.1713)
OKLCHoklch(61.27% 0.172 264.6)
XYZxyz(25.4042, 22.2675, 80.7852)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DEA #EABC4F
analogous
#4FCAEA #4F7DEA #6F4FEA
triadic
#4F7DEA #EA4F7D #7DEA4F
tetradic
#4F7DEA #EA4FCA #EABC4F #4FEA6F
square
#4F7DEA #EA4FCA #EABC4F #4FEA6F
split-complementary
#4F7DEA #EA6F4F #CAEA4F
monochromatic
#1441AA #1B56E1 #4F7DEA #86A5F1 #BCCEF7

Accessibility & contrast

On white

3.85
#4F7DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F7DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DEA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DEA#FFFFFF#000000##000000
##4F7DEA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7dea;
/* rgb */ color: rgb(79, 125, 234);
/* oklch */ color: oklch(61.3% 0.172 264.6);
Tailwind
colors: {
  custom: {
    50: '#90a2f1',
    500: '#4f7dea',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dea;
$custom-light: #90a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dea",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 222.194,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.17208,
    "h": 264.6
  },
  "luminance": 0.2227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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