#4F48CC#4F48CC

#4F48CC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.1% C 0.197 H 278.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4F48CC
RGBrgb(79, 72, 204)
HSLhsl(243, 56%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(61.3%, 64.7%, 0%, 20%)
CIE-LABlab(38.99, 41.53, -67.59)
CIE-LCHlch(38.99, 79.33, 301.57°)
OKLaboklab(49.14% 0.0296 -0.1947)
OKLCHoklch(49.14% 0.197 278.7)
XYZxyz(16.4374, 10.6554, 58.3055)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48CC #C5CC48
analogous
#4883CC #4F48CC #9148CC
triadic
#4F48CC #CC4F48 #48CC4F
tetradic
#4F48CC #CC4883 #C5CC48 #48CC91
square
#4F48CC #CC4883 #C5CC48 #48CC91
split-complementary
#4F48CC #CC9148 #83CC48
monochromatic
#262178 #352FA8 #4F48CC #7D78D9 #ABA8E7

Accessibility & contrast

On white

6.71
#4F48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4F48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48CC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48CC#FFFFFF#000000##FFFFFF
##4F48CC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f48cc;
/* rgb */ color: rgb(79, 72, 204);
/* oklch */ color: oklch(49.1% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e7cdd',
    500: '#4f48cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f48cc;
$custom-light: #8e7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48cc",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 243.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.19694,
    "h": 278.7
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#4F48CC
secondary
#D1D49C
accent
#E048D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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