#4F5FE0#4F5FE0

#4F5FE0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.195 H 272.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4F5FE0
RGBrgb(79, 95, 224)
HSLhsl(233, 70%, 59%)
HSVhsv(233, 65%, 88%)
CMYKcmyk(64.7%, 57.6%, 0%, 12.2%)
CIE-LABlab(45.94, 34.15, -67.73)
CIE-LCHlch(45.94, 75.85, 296.76°)
OKLaboklab(54.74% 0.0095 -0.1949)
OKLCHoklch(54.74% 0.195 272.8)
XYZxyz(20.7667, 15.2267, 72.3512)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FE0 #E0D04F
analogous
#4FA8E0 #4F5FE0 #884FE0
triadic
#4F5FE0 #E04F5F #5FE04F
tetradic
#4F5FE0 #E04FA8 #E0D04F #4FE088
square
#4F5FE0 #E04FA8 #E0D04F #4FE088
split-complementary
#4F5FE0 #E0884F #A8E04F
monochromatic
#1B299A #2437CE #4F5FE0 #838EE9 #B7BEF2

Accessibility & contrast

On white

5.19
#4F5FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4F5FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FE0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FE0#FFFFFF#000000##FFFFFF
##4F5FE01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f5fe0;
/* rgb */ color: rgb(79, 95, 224);
/* oklch */ color: oklch(54.7% 0.195 272.8);
Tailwind
colors: {
  custom: {
    50: '#908ceb',
    500: '#4f5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fe0;
$custom-light: #908ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fe0",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 233.379,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.19517,
    "h": 272.8
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#4F5FE0
secondary
#E2DBA9
accent
#D93BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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