#4F4FEB#4F4FEB

#4F4FEB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.228 H 275.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4F4FEB
RGBrgb(79, 79, 235)
HSLhsl(240, 80%, 62%)
HSVhsv(240, 66%, 92%)
CMYKcmyk(66.4%, 66.4%, 0%, 7.8%)
CIE-LABlab(43.14, 47.42, -78.53)
CIE-LCHlch(43.14, 91.74, 301.12°)
OKLaboklab(52.95% 0.0211 -0.2267)
OKLCHoklch(52.95% 0.228 275.3)
XYZxyz(21.0109, 13.2505, 80.0315)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FEB #EBEB4F
analogous
#4F9DEB #4F4FEB #9D4FEB
triadic
#4F4FEB #EB4F4F #4FEB4F
tetradic
#4F4FEB #EB4F9D #EBEB4F #4FEB9D
square
#4F4FEB #EB4F9D #EBEB4F #4FEB9D
split-complementary
#4F4FEB #EB9D4F #9DEB4F
monochromatic
#1414AC #1A1AE3 #4F4FEB #8686F1 #BDBDF7

Accessibility & contrast

On white

5.75
#4F4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4F4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FEB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FEB#FFFFFF#000000##FFFFFF
##4F4FEB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f4feb;
/* rgb */ color: rgb(79, 79, 235);
/* oklch */ color: oklch(53.0% 0.228 275.3);
Tailwind
colors: {
  custom: {
    50: '#9381f3',
    500: '#4f4feb',
    950: '#000000',
  },
}
SCSS
$custom: #4f4feb;
$custom-light: #9381f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4feb",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.22772,
    "h": 275.3
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#4F4FEB
secondary
#E8E8AE
accent
#DC0ADC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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