#4F42DD#4F42DD

#4F42DD is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.7% C 0.225 H 278.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4F42DD
RGBrgb(79, 66, 221)
HSLhsl(245, 70%, 56%)
HSVhsv(245, 70%, 87%)
CMYKcmyk(64.3%, 70.1%, 0%, 13.3%)
CIE-LABlab(39.20, 50.35, -77.03)
CIE-LCHlch(39.20, 92.03, 303.17°)
OKLaboklab(49.74% 0.0318 -0.2224)
OKLCHoklch(49.74% 0.225 278.1)
XYZxyz(18.2196, 10.7777, 69.5128)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F42DD #D0DD42
analogous
#4283DD #4F42DD #9D42DD
triadic
#4F42DD #DD4F42 #42DD4F
tetradic
#4F42DD #DD4283 #D0DD42 #42DD9D
square
#4F42DD #DD4283 #D0DD42 #42DD9D
split-complementary
#4F42DD #DD9D42 #83DD42
monochromatic
#23198C #3022BF #4F42DD #7F76E6 #B0AAF0

Accessibility & contrast

On white

6.65
#4F42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F42DD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F42DD#FFFFFF#000000##FFFFFF
##4F42DD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0056DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f42dd;
/* rgb */ color: rgb(79, 66, 221);
/* oklch */ color: oklch(49.7% 0.225 278.1);
Tailwind
colors: {
  custom: {
    50: '#9178e9',
    500: '#4f42dd',
    950: '#000000',
  },
}
SCSS
$custom: #4f42dd;
$custom-light: #9178e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f42dd",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 245.032,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.22463,
    "h": 278.1
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#4F42DD
secondary
#D8DD9D
accent
#EC3BDD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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