#4F42DA#4F42DA

#4F42DA is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.221 H 278.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4F42DA
RGBrgb(79, 66, 218)
HSLhsl(245, 67%, 56%)
HSVhsv(245, 70%, 85%)
CMYKcmyk(63.8%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.93, 49.42, -75.76)
CIE-LCHlch(38.93, 90.45, 303.11°)
OKLaboklab(49.47% 0.0323 -0.2186)
OKLCHoklch(49.47% 0.221 278.4)
XYZxyz(17.8235, 10.6192, 67.4265)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F42DA #CDDA42
analogous
#4281DA #4F42DA #9B42DA
triadic
#4F42DA #DA4F42 #42DA4F
tetradic
#4F42DA #DA4281 #CDDA42 #42DA9B
square
#4F42DA #DA4281 #CDDA42 #42DA9B
split-complementary
#4F42DA #DA9B42 #81DA42
monochromatic
#241A87 #3124BA #4F42DA #7F75E4 #AEA8EE

Accessibility & contrast

On white

6.72
#4F42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F42DA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F42DA#FFFFFF#000000##FFFFFF
##4F42DA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f42da;
/* rgb */ color: rgb(79, 66, 218);
/* oklch */ color: oklch(49.5% 0.221 278.4);
Tailwind
colors: {
  custom: {
    50: '#9178e7',
    500: '#4f42da',
    950: '#000000',
  },
}
SCSS
$custom: #4f42da;
$custom-light: #9178e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f42da",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 245.132,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.22102,
    "h": 278.4
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#4F42DA
secondary
#D6DB9C
accent
#EA3EDB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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