#4F5FE9#4F5FE9

#4F5FE9 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.4% C 0.207 H 272.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4F5FE9
RGBrgb(79, 95, 233)
HSLhsl(234, 78%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(66.1%, 59.2%, 0%, 8.6%)
CIE-LABlab(46.62, 37.19, -71.72)
CIE-LCHlch(46.62, 80.79, 297.41°)
OKLaboklab(55.45% 0.0095 -0.2067)
OKLCHoklch(55.45% 0.207 272.6)
XYZxyz(22.0197, 15.7279, 78.9503)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FE9 #E9D94F
analogous
#4FACE9 #4F5FE9 #8C4FE9
triadic
#4F5FE9 #E94F5F #5FE94F
tetradic
#4F5FE9 #E94FAC #E9D94F #4FE98C
square
#4F5FE9 #E94FAC #E9D94F #4FE98C
split-complementary
#4F5FE9 #E98C4F #ACE94F
monochromatic
#1524A9 #1C30DF #4F5FE9 #8590F0 #BCC2F7

Accessibility & contrast

On white

5.07
#4F5FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4F5FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FE9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FE9#FFFFFF#000000##FFFFFF
##4F5FE91.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f5fe9;
/* rgb */ color: rgb(79, 95, 233);
/* oklch */ color: oklch(55.4% 0.207 272.6);
Tailwind
colors: {
  custom: {
    50: '#918cf1',
    500: '#4f5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fe9;
$custom-light: #918cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fe9",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 233.766,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.20689,
    "h": 272.6
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#4F5FE9
secondary
#E7E1AD
accent
#C50BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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