#4F40D0#4F40D0

#4F40D0 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.211 H 279.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4F40D0
RGBrgb(79, 64, 208)
HSLhsl(246, 61%, 53%)
HSVhsv(246, 69%, 82%)
CMYKcmyk(62%, 69.2%, 0%, 18.4%)
CIE-LABlab(37.63, 47.42, -72.14)
CIE-LCHlch(37.63, 86.33, 303.32°)
OKLaboklab(48.26% 0.0354 -0.208)
OKLCHoklch(48.26% 0.211 279.6)
XYZxyz(16.4394, 9.8819, 60.7034)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F40D0 #C1D040
analogous
#4079D0 #4F40D0 #9740D0
triadic
#4F40D0 #D04F40 #40D04F
tetradic
#4F40D0 #D04079 #C1D040 #40D097
square
#4F40D0 #D04079 #C1D040 #40D097
split-complementary
#4F40D0 #D09740 #79D040
monochromatic
#271E78 #372AA9 #4F40D0 #7C71DC #AAA2E8

Accessibility & contrast

On white

7.06
#4F40D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F40D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F40D0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F40D0#FFFFFF#000000##FFFFFF
##4F40D01.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f40d0;
/* rgb */ color: rgb(79, 64, 208);
/* oklch */ color: oklch(48.3% 0.211 279.6);
Tailwind
colors: {
  custom: {
    50: '#8f76e0',
    500: '#4f40d0',
    950: '#000000',
  },
}
SCSS
$custom: #4f40d0;
$custom-light: #8f76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f40d0",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 246.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.21103,
    "h": 279.6
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#4F40D0
secondary
#CED597
accent
#E444D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F40D0

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

Preview Lab → · Contrast checker → · Palette generator →

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