#4F42CE#4F42CE

#4F42CE is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.206 H 279.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4F42CE
RGBrgb(79, 66, 206)
HSLhsl(246, 59%, 53%)
HSVhsv(246, 68%, 81%)
CMYKcmyk(61.7%, 68%, 0%, 19.2%)
CIE-LABlab(37.87, 45.66, -70.60)
CIE-LCHlch(37.87, 84.08, 302.90°)
OKLaboklab(48.38% 0.0342 -0.2035)
OKLCHoklch(48.38% 0.206 279.5)
XYZxyz(16.3097, 10.0137, 59.4539)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F42CE #C1CE42
analogous
#427BCE #4F42CE #9542CE
triadic
#4F42CE #CE4F42 #42CE4F
tetradic
#4F42CE #CE427B #C1CE42 #42CE95
square
#4F42CE #CE427B #C1CE42 #42CE95
split-complementary
#4F42CE #CE9542 #7BCE42
monochromatic
#271F77 #372BA7 #4F42CE #7C73DB #AAA3E7

Accessibility & contrast

On white

6.99
#4F42CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4F42CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F42CE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F42CE#FFFFFF#000000##FFFFFF
##4F42CE1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f42ce;
/* rgb */ color: rgb(79, 66, 206);
/* oklch */ color: oklch(48.4% 0.206 279.5);
Tailwind
colors: {
  custom: {
    50: '#8e78de',
    500: '#4f42ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f42ce;
$custom-light: #8e78de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f42ce",
  "rgb": {
    "r": 79,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 245.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.20636,
    "h": 279.5
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#4F42CE
secondary
#CED498
accent
#E246D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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