#4F58DB#4F58DB

#4F58DB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.197 H 274.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F58DB
RGBrgb(79, 88, 219)
HSLhsl(236, 66%, 58%)
HSVhsv(236, 64%, 86%)
CMYKcmyk(63.9%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.88, 36.78, -68.24)
CIE-LCHlch(43.88, 77.52, 298.32°)
OKLaboklab(53.09% 0.0154 -0.1965)
OKLCHoklch(53.09% 0.197 274.5)
XYZxyz(19.4961, 13.7545, 68.6316)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58DB #DBD24F
analogous
#4F9EDB #4F58DB #8C4FDB
triadic
#4F58DB #DB4F58 #58DB4F
tetradic
#4F58DB #DB4F9E #DBD24F #4FDB8C
square
#4F58DB #DB4F9E #DBD24F #4FDB8C
split-complementary
#4F58DB #DB8C4F #9EDB4F
monochromatic
#1E2592 #2832C5 #4F58DB #8288E5 #B5B8F0

Accessibility & contrast

On white

5.60
#4F58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58DB#FFFFFF#000000##FFFFFF
##4F58DB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f58db;
/* rgb */ color: rgb(79, 88, 219);
/* oklch */ color: oklch(53.1% 0.197 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f87e7',
    500: '#4f58db',
    950: '#000000',
  },
}
SCSS
$custom: #4f58db;
$custom-light: #8f87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58db",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 236.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.19713,
    "h": 274.5
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#4F58DB
secondary
#DFDBA7
accent
#DE3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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