#4F5ECF#4F5ECF

#4F5ECF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.174 H 273.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F5ECF
RGBrgb(79, 94, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 62%, 81%)
CMYKcmyk(61.8%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.48, 29.01, -60.41)
CIE-LCHlch(44.48, 67.01, 295.66°)
OKLaboklab(53.26% 0.01 -0.1734)
OKLCHoklch(53.26% 0.174 273.3)
XYZxyz(18.4859, 14.1711, 60.7805)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ECF #CFC04F
analogous
#4F9ECF #4F5ECF #804FCF
triadic
#4F5ECF #CF4F5E #5ECF4F
tetradic
#4F5ECF #CF4F9E #CFC04F #4FCF80
square
#4F5ECF #CF4F9E #CFC04F #4FCF80
split-complementary
#4F5ECF #CF804F #9ECF4F
monochromatic
#232E81 #303FB1 #4F5ECF #7F8ADC #AFB6E9

Accessibility & contrast

On white

5.48
#4F5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F5ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ECF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ECF#FFFFFF#000000##FFFFFF
##4F5ECF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5ecf;
/* rgb */ color: rgb(79, 94, 207);
/* oklch */ color: oklch(53.3% 0.174 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d8bde',
    500: '#4f5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ecf;
$custom-light: #8d8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ecf",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 232.969,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.1737,
    "h": 273.3
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#4F5ECF
secondary
#D7D1A2
accent
#CE47E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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