#4F48CB#4F48CB

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

Color values

HEX#4F48CB
RGBrgb(79, 72, 203)
HSLhsl(243, 56%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(61.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.91, 41.21, -67.15)
CIE-LCHlch(38.91, 78.78, 301.54°)
OKLaboklab(49.05% 0.0297 -0.1934)
OKLCHoklch(49.05% 0.196 278.7)
XYZxyz(16.3179, 10.6076, 57.6759)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48CB #C4CB48
analogous
#4883CB #4F48CB #9148CB
triadic
#4F48CB #CB4F48 #48CB4F
tetradic
#4F48CB #CB4883 #C4CB48 #48CB91
square
#4F48CB #CB4883 #C4CB48 #48CB91
split-complementary
#4F48CB #CB9148 #83CB48
monochromatic
#262277 #362FA6 #4F48CB #7D78D9 #ABA7E6

Accessibility & contrast

On white

6.73
#4F48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4F48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48CB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48CB#FFFFFF#000000##FFFFFF
##4F48CB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f48cb;
/* rgb */ color: rgb(79, 72, 203);
/* oklch */ color: oklch(49.1% 0.196 278.7);
Tailwind
colors: {
  custom: {
    50: '#8d7cdc',
    500: '#4f48cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f48cb;
$custom-light: #8d7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48cb",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 243.206,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.19567,
    "h": 278.7
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#4F48CB
secondary
#D0D39B
accent
#DF49D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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