#4F52BA#4F52BA

#4F52BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.160 H 277.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4F52BA
RGBrgb(79, 82, 186)
HSLhsl(238, 44%, 52%)
HSVhsv(238, 58%, 73%)
CMYKcmyk(57.5%, 55.9%, 0%, 27.1%)
CIE-LABlab(39.98, 29.50, -55.50)
CIE-LCHlch(39.98, 62.85, 297.99°)
OKLaboklab(49.44% 0.021 -0.1591)
OKLCHoklch(49.44% 0.16 277.5)
XYZxyz(15.1018, 11.2410, 47.8188)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52BA #BAB74F
analogous
#4F88BA #4F52BA #824FBA
triadic
#4F52BA #BA4F52 #52BA4F
tetradic
#4F52BA #BA4F88 #BAB74F #4FBA82
square
#4F52BA #BA4F88 #BAB74F #4FBA82
split-complementary
#4F52BA #BA824F #88BA4F
monochromatic
#282A66 #393C92 #4F52BA #7B7DCB #A7A8DC

Accessibility & contrast

On white

6.46
#4F52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4F52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52BA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52BA#FFFFFF#000000##FFFFFF
##4F52BA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#0D6A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f52ba;
/* rgb */ color: rgb(79, 82, 186);
/* oklch */ color: oklch(49.4% 0.160 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a82cf',
    500: '#4f52ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ba;
$custom-light: #8a82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ba",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 238.318,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.16048,
    "h": 277.5
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#4F52BA
secondary
#CAC99B
accent
#D054D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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