#4F5EE1#4F5EE1

#4F5EE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.198 H 273.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F5EE1
RGBrgb(79, 94, 225)
HSLhsl(234, 71%, 60%)
HSVhsv(234, 65%, 88%)
CMYKcmyk(64.9%, 58.2%, 0%, 11.8%)
CIE-LABlab(45.77, 35.11, -68.57)
CIE-LCHlch(45.77, 77.03, 297.11°)
OKLaboklab(54.64% 0.0104 -0.1974)
OKLCHoklch(54.64% 0.198 273)
XYZxyz(20.8132, 15.1021, 73.0377)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EE1 #E1D24F
analogous
#4FA7E1 #4F5EE1 #894FE1
triadic
#4F5EE1 #E14F5E #5EE14F
tetradic
#4F5EE1 #E14FA7 #E1D24F #4FE189
square
#4F5EE1 #E14FA7 #E1D24F #4FE189
split-complementary
#4F5EE1 #E1894F #A7E14F
monochromatic
#1A289B #2335CF #4F5EE1 #838EEA #B8BEF3

Accessibility & contrast

On white

5.22
#4F5EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4F5EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EE1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EE1#FFFFFF#000000##FFFFFF
##4F5EE11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5ee1;
/* rgb */ color: rgb(79, 94, 225);
/* oklch */ color: oklch(54.6% 0.198 273.0);
Tailwind
colors: {
  custom: {
    50: '#908beb',
    500: '#4f5ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ee1;
$custom-light: #908beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ee1",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 233.836,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.19769,
    "h": 273
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#4F5EE1
secondary
#E2DCAA
accent
#DB3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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