#4F58BC#4F58BC

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

Color values

HEX#4F58BC
RGBrgb(79, 88, 188)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 58%, 74%)
CMYKcmyk(58%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.64, 26.39, -53.99)
CIE-LCHlch(41.64, 60.09, 296.05°)
OKLaboklab(50.72% 0.0149 -0.1546)
OKLCHoklch(50.72% 0.155 275.5)
XYZxyz(15.7883, 12.2714, 49.1038)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BC #BCB34F
analogous
#4F8EBC #4F58BC #7D4FBC
triadic
#4F58BC #BC4F58 #58BC4F
tetradic
#4F58BC #BC4F8E #BCB34F #4FBC7D
square
#4F58BC #BC4F8E #BCB34F #4FBC7D
split-complementary
#4F58BC #BC7D4F #8EBC4F
monochromatic
#282D69 #394095 #4F58BC #7B82CD #A8ACDE

Accessibility & contrast

On white

6.08
#4F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F58BC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BC#FFFFFF#000000##FFFFFF
##4F58BC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#036F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f58bc;
/* rgb */ color: rgb(79, 88, 188);
/* oklch */ color: oklch(50.7% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a87d1',
    500: '#4f58bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f58bc;
$custom-light: #8a87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58bc",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 235.046,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50722,
    "c": 0.15531,
    "h": 275.5
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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