#4F52BD#4F52BD

#4F52BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.165 H 277.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4F52BD
RGBrgb(79, 82, 189)
HSLhsl(238, 45%, 53%)
HSVhsv(238, 58%, 74%)
CMYKcmyk(58.2%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.20, 30.50, -56.91)
CIE-LCHlch(40.20, 64.57, 298.19°)
OKLaboklab(49.66% 0.0211 -0.1632)
OKLCHoklch(49.66% 0.165 277.4)
XYZxyz(15.4241, 11.3699, 49.5161)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52BD #BDBA4F
analogous
#4F89BD #4F52BD #834FBD
triadic
#4F52BD #BD4F52 #52BD4F
tetradic
#4F52BD #BD4F89 #BDBA4F #4FBD83
square
#4F52BD #BD4F89 #BDBA4F #4FBD83
split-complementary
#4F52BD #BD834F #89BD4F
monochromatic
#282A6A #383B96 #4F52BD #7C7ECE #A8AADE

Accessibility & contrast

On white

6.41
#4F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4F52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52BD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52BD#FFFFFF#000000##FFFFFF
##4F52BD1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#026B7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f52bd;
/* rgb */ color: rgb(79, 82, 189);
/* oklch */ color: oklch(49.7% 0.165 277.4);
Tailwind
colors: {
  custom: {
    50: '#8a82d2',
    500: '#4f52bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f52bd;
$custom-light: #8a82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52bd",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 238.364,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.16461,
    "h": 277.4
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#4F52BD
secondary
#CCCA9C
accent
#D253D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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