#4F4EB2#4F4EB2

#4F4EB2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.155 H 279.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4F4EB2
RGBrgb(79, 78, 178)
HSLhsl(241, 39%, 50%)
HSVhsv(241, 56%, 70%)
CMYKcmyk(55.6%, 56.2%, 0%, 30.2%)
CIE-LABlab(38.42, 29.38, -53.33)
CIE-LCHlch(38.42, 60.89, 298.86°)
OKLaboklab(48.09% 0.025 -0.1527)
OKLCHoklch(48.09% 0.155 279.3)
XYZxyz(13.9822, 10.3245, 43.3669)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EB2 #B1B24E
analogous
#4E7FB2 #4F4EB2 #814EB2
triadic
#4F4EB2 #B24F4E #4EB24F
tetradic
#4F4EB2 #B24E7F #B1B24E #4EB281
square
#4F4EB2 #B24E7F #B1B24E #4EB281
split-complementary
#4F4EB2 #B2814E #7FB24E
monochromatic
#29295D #3C3B88 #4F4EB2 #7979C5 #A4A3D7

Accessibility & contrast

On white

6.85
#4F4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4F4EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EB2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EB2#FFFFFF#000000##FFFFFF
##4F4EB21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035EB5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#1E6578
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4eb2;
/* rgb */ color: rgb(79, 78, 178);
/* oklch */ color: oklch(48.1% 0.155 279.3);
Tailwind
colors: {
  custom: {
    50: '#897fca',
    500: '#4f4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eb2;
$custom-light: #897fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eb2",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 240.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.15476,
    "h": 279.3
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#4F4EB2
secondary
#C4C498
accent
#CF59CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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