#4F58BD#4F58BD

#4F58BD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.157 H 275.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4F58BD
RGBrgb(79, 88, 189)
HSLhsl(235, 45%, 53%)
HSVhsv(235, 58%, 74%)
CMYKcmyk(58.2%, 53.4%, 0%, 25.9%)
CIE-LABlab(41.71, 26.72, -54.46)
CIE-LCHlch(41.71, 60.66, 296.14°)
OKLaboklab(50.8% 0.015 -0.156)
OKLCHoklch(50.8% 0.157 275.5)
XYZxyz(15.8965, 12.3147, 49.6735)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BD #BDB44F
analogous
#4F8FBD #4F58BD #7D4FBD
triadic
#4F58BD #BD4F58 #58BD4F
tetradic
#4F58BD #BD4F8F #BDB44F #4FBD7D
square
#4F58BD #BD4F8F #BDB44F #4FBD7D
split-complementary
#4F58BD #BD7D4F #8FBD4F
monochromatic
#282D6A #384096 #4F58BD #7C82CE #A8ACDE

Accessibility & contrast

On white

6.06
#4F58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4F58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58BD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BD#FFFFFF#000000##FFFFFF
##4F58BD1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f58bd;
/* rgb */ color: rgb(79, 88, 189);
/* oklch */ color: oklch(50.8% 0.157 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a87d1',
    500: '#4f58bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f58bd;
$custom-light: #8a87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58bd",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 235.091,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.1567,
    "h": 275.5
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#4F58BD
secondary
#CCC89C
accent
#CA53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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