#4F5EDF#4F5EDF

#4F5EDF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.195 H 273.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F5EDF
RGBrgb(79, 94, 223)
HSLhsl(234, 69%, 59%)
HSVhsv(234, 65%, 87%)
CMYKcmyk(64.6%, 57.8%, 0%, 12.5%)
CIE-LABlab(45.63, 34.43, -67.68)
CIE-LCHlch(45.63, 75.93, 296.97°)
OKLaboklab(54.48% 0.0104 -0.1948)
OKLCHoklch(54.48% 0.195 273.1)
XYZxyz(20.5420, 14.9936, 71.6092)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EDF #DFD04F
analogous
#4FA6DF #4F5EDF #884FDF
triadic
#4F5EDF #DF4F5E #5EDF4F
tetradic
#4F5EDF #DF4FA6 #DFD04F #4FDF88
square
#4F5EDF #DF4FA6 #DFD04F #4FDF88
split-complementary
#4F5EDF #DF884F #A6DF4F
monochromatic
#1C2998 #2536CC #4F5EDF #838DE8 #B7BDF2

Accessibility & contrast

On white

5.25
#4F5EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4F5EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EDF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EDF#FFFFFF#000000##FFFFFF
##4F5EDF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5edf;
/* rgb */ color: rgb(79, 94, 223);
/* oklch */ color: oklch(54.5% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#8f8bea',
    500: '#4f5edf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5edf;
$custom-light: #8f8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5edf",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 233.75,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.19508,
    "h": 273.1
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#4F5EDF
secondary
#E1DBA9
accent
#DA3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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