#4F58BB#4F58BB

#4F58BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.154 H 275.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F58BB
RGBrgb(79, 88, 187)
HSLhsl(235, 44%, 52%)
HSVhsv(235, 58%, 73%)
CMYKcmyk(57.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.58, 26.05, -53.51)
CIE-LCHlch(41.58, 59.52, 295.96°)
OKLaboklab(50.65% 0.0149 -0.1532)
OKLCHoklch(50.65% 0.154 275.5)
XYZxyz(15.6809, 12.2284, 48.5381)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BB #BBB24F
analogous
#4F8EBB #4F58BB #7C4FBB
triadic
#4F58BB #BB4F58 #58BB4F
tetradic
#4F58BB #BB4F8E #BBB24F #4FBB7C
square
#4F58BB #BB4F8E #BBB24F #4FBB7C
split-complementary
#4F58BB #BB7C4F #8EBB4F
monochromatic
#282D68 #394194 #4F58BB #7B82CC #A7ACDD

Accessibility & contrast

On white

6.09
#4F58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58BB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BB#FFFFFF#000000##FFFFFF
##4F58BB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#066F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f58bb;
/* rgb */ color: rgb(79, 88, 187);
/* oklch */ color: oklch(50.6% 0.154 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a87d0',
    500: '#4f58bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f58bb;
$custom-light: #8a87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58bb",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 235,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.15391,
    "h": 275.5
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#4F58BB
secondary
#CAC79B
accent
#C954D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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