#4F42BF#4F42BF

#4F42BF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.1% C 0.188 H 281.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4F42BF
RGBrgb(79, 66, 191)
HSLhsl(246, 49%, 50%)
HSVhsv(246, 65%, 75%)
CMYKcmyk(58.6%, 65.4%, 0%, 25.1%)
CIE-LABlab(36.59, 40.93, -63.94)
CIE-LCHlch(36.59, 75.92, 302.62°)
OKLaboklab(47.06% 0.0361 -0.184)
OKLCHoklch(47.06% 0.188 281.1)
XYZxyz(14.5737, 9.3193, 50.3110)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F42BF #B2BF42
analogous
#4273BF #4F42BF #8D42BF
triadic
#4F42BF #BF4F42 #42BF4F
tetradic
#4F42BF #BF4273 #B2BF42 #42BF8D
square
#4F42BF #BF4273 #B2BF42 #42BF8D
split-complementary
#4F42BF #BF8D42 #73BF42
monochromatic
#292265 #3C3292 #4F42BF #7A70CE #A49DDE

Accessibility & contrast

On white

7.33
#4F42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4F42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F42BF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F42BF#FFFFFF#000000##FFFFFF
##4F42BF1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#03627B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f42bf;
/* rgb */ color: rgb(79, 66, 191);
/* oklch */ color: oklch(47.1% 0.188 281.1);
Tailwind
colors: {
  custom: {
    50: '#8c77d3',
    500: '#4f42bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f42bf;
$custom-light: #8c77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f42bf",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 246.24,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47063,
    "c": 0.18752,
    "h": 281.1
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#4F42BF
secondary
#C4CA93
accent
#D94FCB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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