#4F5DB2#4F5DB2

#4F5DB2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.134 H 273.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4F5DB2
RGBrgb(79, 93, 178)
HSLhsl(232, 39%, 50%)
HSVhsv(232, 56%, 70%)
CMYKcmyk(55.6%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.31, 19.88, -47.06)
CIE-LCHlch(42.31, 51.08, 292.90°)
OKLaboklab(51.02% 0.0086 -0.1342)
OKLCHoklch(51.02% 0.134 273.7)
XYZxyz(15.1721, 12.7043, 43.7635)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DB2 #B2A44F
analogous
#4F8EB2 #4F5DB2 #724FB2
triadic
#4F5DB2 #B24F5D #5DB24F
tetradic
#4F5DB2 #B24F8E #B2A44F #4FB272
square
#4F5DB2 #B24F8E #B2A44F #4FB272
split-complementary
#4F5DB2 #B2724F #8EB24F
monochromatic
#29305E #3C4688 #4F5DB2 #7A84C5 #A4ABD7

Accessibility & contrast

On white

5.93
#4F5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DB2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DB2#FFFFFF#000000##FFFFFF
##4F5DB21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#1A707F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f5db2;
/* rgb */ color: rgb(79, 93, 178);
/* oklch */ color: oklch(51.0% 0.134 273.7);
Tailwind
colors: {
  custom: {
    50: '#888ac9',
    500: '#4f5db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5db2;
$custom-light: #888ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5db2",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 231.515,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.13443,
    "h": 273.7
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#4F5DB2
secondary
#C4BE98
accent
#BE59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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