#4F52BF#4F52BF

#4F52BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.167 H 277.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4F52BF
RGBrgb(79, 82, 191)
HSLhsl(238, 47%, 53%)
HSVhsv(238, 59%, 75%)
CMYKcmyk(58.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.34, 31.16, -57.85)
CIE-LCHlch(40.34, 65.70, 298.31°)
OKLaboklab(49.82% 0.0211 -0.166)
OKLCHoklch(49.82% 0.167 277.3)
XYZxyz(15.6427, 11.4573, 50.6673)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52BF #BFBC4F
analogous
#4F8ABF #4F52BF #844FBF
triadic
#4F52BF #BF4F52 #52BF4F
tetradic
#4F52BF #BF4F8A #BFBC4F #4FBF84
square
#4F52BF #BF4F8A #BFBC4F #4FBF84
split-complementary
#4F52BF #BF844F #8ABF4F
monochromatic
#27296C #383A99 #4F52BF #7C7ECF #A9AAE0

Accessibility & contrast

On white

6.38
#4F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4F52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52BF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52BF#FFFFFF#000000##FFFFFF
##4F52BF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f52bf;
/* rgb */ color: rgb(79, 82, 191);
/* oklch */ color: oklch(49.8% 0.167 277.3);
Tailwind
colors: {
  custom: {
    50: '#8b82d3',
    500: '#4f52bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f52bf;
$custom-light: #8b82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52bf",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 238.393,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49815,
    "c": 0.16734,
    "h": 277.3
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#4F52BF
secondary
#CDCC9D
accent
#D351D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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