#4F58CD#4F58CD

#4F58CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.179 H 275.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4F58CD
RGBrgb(79, 88, 205)
HSLhsl(236, 56%, 56%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61.5%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.84, 32.09, -61.92)
CIE-LCHlch(42.84, 69.74, 297.40°)
OKLaboklab(51.99% 0.0155 -0.1779)
OKLCHoklch(51.99% 0.179 275)
XYZxyz(17.7300, 13.0481, 59.3300)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58CD #CDC44F
analogous
#4F97CD #4F58CD #854FCD
triadic
#4F58CD #CD4F58 #58CD4F
tetradic
#4F58CD #CD4F97 #CDC44F #4FCD85
square
#4F58CD #CD4F97 #CDC44F #4FCD85
split-complementary
#4F58CD #CD854F #97CD4F
monochromatic
#242A7E #313AAE #4F58CD #7F85DB #AEB2E8

Accessibility & contrast

On white

5.82
#4F58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4F58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58CD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58CD#FFFFFF#000000##FFFFFF
##4F58CD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f58cd;
/* rgb */ color: rgb(79, 88, 205);
/* oklch */ color: oklch(52.0% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d87dd',
    500: '#4f58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f58cd;
$custom-light: #8d87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58cd",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 235.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.1786,
    "h": 275
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#4F58CD
secondary
#D6D2A2
accent
#D449DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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