#4F52B2#4F52B2

#4F52B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.149 H 278.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4F52B2
RGBrgb(79, 82, 178)
HSLhsl(238, 39%, 50%)
HSVhsv(238, 56%, 70%)
CMYKcmyk(55.6%, 53.9%, 0%, 30.2%)
CIE-LABlab(39.43, 26.86, -51.69)
CIE-LCHlch(39.43, 58.26, 297.46°)
OKLaboklab(48.85% 0.0207 -0.1479)
OKLCHoklch(48.85% 0.149 278)
XYZxyz(14.2751, 10.9103, 43.4645)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52B2 #B2AF4F
analogous
#4F83B2 #4F52B2 #7D4FB2
triadic
#4F52B2 #B24F52 #52B24F
tetradic
#4F52B2 #B24F83 #B2AF4F #4FB27D
square
#4F52B2 #B24F83 #B2AF4F #4FB27D
split-complementary
#4F52B2 #B27D4F #83B24F
monochromatic
#292B5E #3C3E88 #4F52B2 #7A7CC5 #A4A6D7

Accessibility & contrast

On white

6.60
#4F52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4F52B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52B2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52B2#FFFFFF#000000##FFFFFF
##4F52B21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#1D687A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f52b2;
/* rgb */ color: rgb(79, 82, 178);
/* oklch */ color: oklch(48.8% 0.149 278.0);
Tailwind
colors: {
  custom: {
    50: '#8882ca',
    500: '#4f52b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f52b2;
$custom-light: #8882ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52b2",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 238.182,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.14934,
    "h": 278
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#4F52B2
secondary
#C4C398
accent
#CB59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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