#4F52C8#4F52C8

#4F52C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.179 H 276.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F52C8
RGBrgb(79, 82, 200)
HSLhsl(239, 52%, 55%)
HSVhsv(239, 61%, 78%)
CMYKcmyk(60.5%, 59%, 0%, 21.6%)
CIE-LABlab(41.00, 34.15, -62.00)
CIE-LCHlch(41.00, 70.78, 298.84°)
OKLaboklab(50.51% 0.0211 -0.1782)
OKLCHoklch(50.51% 0.179 276.7)
XYZxyz(16.6637, 11.8657, 56.0446)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52C8 #C8C54F
analogous
#4F8FC8 #4F52C8 #884FC8
triadic
#4F52C8 #C84F52 #52C84F
tetradic
#4F52C8 #C84F8F #C8C54F #4FC888
square
#4F52C8 #C84F8F #C8C54F #4FC888
split-complementary
#4F52C8 #C8884F #8FC84F
monochromatic
#252777 #3437A6 #4F52C8 #7E80D7 #ACAEE5

Accessibility & contrast

On white

6.23
#4F52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52C8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52C8#FFFFFF#000000##FFFFFF
##4F52C81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f52c8;
/* rgb */ color: rgb(79, 82, 200);
/* oklch */ color: oklch(50.5% 0.179 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c82da',
    500: '#4f52c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f52c8;
$custom-light: #8c82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52c8",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 238.512,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.17947,
    "h": 276.7
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#4F52C8
secondary
#D3D2A0
accent
#D84CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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