#4F58D0#4F58D0

#4F58D0 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.183 H 274.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4F58D0
RGBrgb(79, 88, 208)
HSLhsl(236, 58%, 56%)
HSVhsv(236, 62%, 82%)
CMYKcmyk(62%, 57.7%, 0%, 18.4%)
CIE-LABlab(43.05, 33.09, -63.29)
CIE-LCHlch(43.05, 71.42, 297.61°)
OKLaboklab(52.22% 0.0156 -0.1819)
OKLCHoklch(52.22% 0.183 274.9)
XYZxyz(18.0956, 13.1943, 61.2554)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D0 #D0C74F
analogous
#4F99D0 #4F58D0 #874FD0
triadic
#4F58D0 #D04F58 #58D04F
tetradic
#4F58D0 #D04F99 #D0C74F #4FD087
square
#4F58D0 #D04F99 #D0C74F #4FD087
split-complementary
#4F58D0 #D0874F #99D04F
monochromatic
#232982 #3039B2 #4F58D0 #7F86DD #B0B4EA

Accessibility & contrast

On white

5.77
#4F58D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4F58D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D0#FFFFFF#000000##FFFFFF
##4F58D01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f58d0;
/* rgb */ color: rgb(79, 88, 208);
/* oklch */ color: oklch(52.2% 0.183 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d87df',
    500: '#4f58d0',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d0;
$custom-light: #8d87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d0",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 235.814,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.18261,
    "h": 274.9
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#4F58D0
secondary
#D8D4A3
accent
#D647E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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