#4F58BE#4F58BE

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

Color values

HEX#4F58BE
RGBrgb(79, 88, 190)
HSLhsl(235, 46%, 53%)
HSVhsv(235, 58%, 75%)
CMYKcmyk(58.4%, 53.7%, 0%, 25.5%)
CIE-LABlab(41.78, 27.06, -54.93)
CIE-LCHlch(41.78, 61.24, 296.22°)
OKLaboklab(50.87% 0.0151 -0.1574)
OKLCHoklch(50.87% 0.158 275.5)
XYZxyz(16.0054, 12.3582, 50.2472)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BE #BEB54F
analogous
#4F90BE #4F58BE #7D4FBE
triadic
#4F58BE #BE4F58 #58BE4F
tetradic
#4F58BE #BE4F90 #BEB54F #4FBE7D
square
#4F58BE #BE4F90 #BEB54F #4FBE7D
split-complementary
#4F58BE #BE7D4F #90BE4F
monochromatic
#282D6B #384098 #4F58BE #7C82CF #A8ADDF

Accessibility & contrast

On white

6.05
#4F58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58BE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BE#FFFFFF#000000##FFFFFF
##4F58BE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f58be;
/* rgb */ color: rgb(79, 88, 190);
/* oklch */ color: oklch(50.9% 0.158 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a87d2',
    500: '#4f58be',
    950: '#000000',
  },
}
SCSS
$custom: #4f58be;
$custom-light: #8a87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58be",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 235.135,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.1581,
    "h": 275.5
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#4F58BE
secondary
#CCC99C
accent
#CB52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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