#4F52BB#4F52BB

#4F52BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.162 H 277.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4F52BB
RGBrgb(79, 82, 187)
HSLhsl(238, 44%, 52%)
HSVhsv(238, 58%, 73%)
CMYKcmyk(57.8%, 56.1%, 0%, 26.7%)
CIE-LABlab(40.05, 29.84, -55.97)
CIE-LCHlch(40.05, 63.43, 298.06°)
OKLaboklab(49.51% 0.0211 -0.1605)
OKLCHoklch(49.51% 0.162 277.5)
XYZxyz(15.2085, 11.2836, 48.3806)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52BB #BBB84F
analogous
#4F88BB #4F52BB #824FBB
triadic
#4F52BB #BB4F52 #52BB4F
tetradic
#4F52BB #BB4F88 #BBB84F #4FBB82
square
#4F52BB #BB4F88 #BBB84F #4FBB82
split-complementary
#4F52BB #BB824F #88BB4F
monochromatic
#282A68 #393C94 #4F52BB #7B7DCC #A7A9DD

Accessibility & contrast

On white

6.45
#4F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4F52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52BB#FFFFFF#000000##FFFFFF
##4F52BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#096B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f52bb;
/* rgb */ color: rgb(79, 82, 187);
/* oklch */ color: oklch(49.5% 0.162 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a82d0',
    500: '#4f52bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f52bb;
$custom-light: #8a82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52bb",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 238.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.16186,
    "h": 277.5
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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