#4F5CB2#4F5CB2

#4F5CB2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.136 H 274.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4F5CB2
RGBrgb(79, 92, 178)
HSLhsl(232, 39%, 50%)
HSVhsv(232, 56%, 70%)
CMYKcmyk(55.6%, 48.3%, 0%, 30.2%)
CIE-LABlab(42.05, 20.51, -47.49)
CIE-LCHlch(42.05, 51.73, 293.36°)
OKLaboklab(50.82% 0.0097 -0.1354)
OKLCHoklch(50.82% 0.136 274.1)
XYZxyz(15.0849, 12.5299, 43.7344)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CB2 #B2A54F
analogous
#4F8DB2 #4F5CB2 #734FB2
triadic
#4F5CB2 #B24F5C #5CB24F
tetradic
#4F5CB2 #B24F8D #B2A54F #4FB273
square
#4F5CB2 #B24F8D #B2A54F #4FB273
split-complementary
#4F5CB2 #B2734F #8DB24F
monochromatic
#29305E #3C4688 #4F5CB2 #7A83C5 #A4ABD7

Accessibility & contrast

On white

5.99
#4F5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CB2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CB2#FFFFFF#000000##FFFFFF
##4F5CB21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#1A6F7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5cb2;
/* rgb */ color: rgb(79, 92, 178);
/* oklch */ color: oklch(50.8% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#8889c9',
    500: '#4f5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cb2;
$custom-light: #8889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cb2",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 232.121,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.13578,
    "h": 274.1
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#4F5CB2
secondary
#C4BF98
accent
#C059CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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