#4F58CF#4F58CF

#4F58CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.181 H 274.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F58CF
RGBrgb(79, 88, 207)
HSLhsl(236, 57%, 56%)
HSVhsv(236, 62%, 81%)
CMYKcmyk(61.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.98, 32.76, -62.83)
CIE-LCHlch(42.98, 70.86, 297.54°)
OKLaboklab(52.15% 0.0156 -0.1806)
OKLCHoklch(52.15% 0.181 274.9)
XYZxyz(17.9730, 13.1452, 60.6095)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58CF #CFC64F
analogous
#4F98CF #4F58CF #864FCF
triadic
#4F58CF #CF4F58 #58CF4F
tetradic
#4F58CF #CF4F98 #CFC64F #4FCF86
square
#4F58CF #CF4F98 #CFC64F #4FCF86
split-complementary
#4F58CF #CF864F #98CF4F
monochromatic
#232A81 #3039B1 #4F58CF #7F86DC #AFB3E9

Accessibility & contrast

On white

5.79
#4F58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58CF#FFFFFF#000000##FFFFFF
##4F58CF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f58cf;
/* rgb */ color: rgb(79, 88, 207);
/* oklch */ color: oklch(52.1% 0.181 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d87de',
    500: '#4f58cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f58cf;
$custom-light: #8d87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58cf",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 235.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.18128,
    "h": 274.9
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#4F58CF
secondary
#D7D4A2
accent
#D647E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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