#4F58BF#4F58BF

#4F58BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.159 H 275.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4F58BF
RGBrgb(79, 88, 191)
HSLhsl(235, 47%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(58.6%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.85, 27.39, -55.41)
CIE-LCHlch(41.85, 61.81, 296.31°)
OKLaboklab(50.94% 0.0151 -0.1588)
OKLCHoklch(50.94% 0.159 275.4)
XYZxyz(16.1151, 12.4021, 50.8248)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BF #BFB64F
analogous
#4F90BF #4F58BF #7E4FBF
triadic
#4F58BF #BF4F58 #58BF4F
tetradic
#4F58BF #BF4F90 #BFB64F #4FBF7E
square
#4F58BF #BF4F90 #BFB64F #4FBF7E
split-complementary
#4F58BF #BF7E4F #90BF4F
monochromatic
#272D6C #384099 #4F58BF #7C83CF #A9ADE0

Accessibility & contrast

On white

6.03
#4F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4F58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58BF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BF#FFFFFF#000000##FFFFFF
##4F58BF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f58bf;
/* rgb */ color: rgb(79, 88, 191);
/* oklch */ color: oklch(50.9% 0.159 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a87d3',
    500: '#4f58bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f58bf;
$custom-light: #8a87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58bf",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 235.179,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5094,
    "c": 0.15949,
    "h": 275.4
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#4F58BF
secondary
#CDC99D
accent
#CC51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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