#4F48BA#4F48BA

#4F48BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.174 H 280.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4F48BA
RGBrgb(79, 72, 186)
HSLhsl(244, 45%, 51%)
HSVhsv(244, 61%, 73%)
CMYKcmyk(57.5%, 61.3%, 0%, 27.1%)
CIE-LABlab(37.56, 35.72, -59.44)
CIE-LCHlch(37.56, 69.34, 301.00°)
OKLaboklab(47.64% 0.031 -0.1708)
OKLCHoklch(47.64% 0.174 280.3)
XYZxyz(14.4020, 9.8412, 47.5855)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48BA #B3BA48
analogous
#487ABA #4F48BA #8848BA
triadic
#4F48BA #BA4F48 #48BA4F
tetradic
#4F48BA #BA487A #B3BA48 #48BA88
square
#4F48BA #BA487A #B3BA48 #48BA88
split-complementary
#4F48BA #BA8848 #7ABA48
monochromatic
#292562 #3B368F #4F48BA #7A74CB #A4A1DC

Accessibility & contrast

On white

7.07
#4F48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4F48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F48BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48BA#FFFFFF#000000##FFFFFF
##4F48BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#11647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f48ba;
/* rgb */ color: rgb(79, 72, 186);
/* oklch */ color: oklch(47.6% 0.174 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4f48ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f48ba;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48ba",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 243.684,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.17354,
    "h": 280.3
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#4F48BA
secondary
#C5C896
accent
#D553CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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