#4F40DE#4F40DE

#4F40DE is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.6% C 0.228 H 278.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4F40DE
RGBrgb(79, 64, 222)
HSLhsl(246, 71%, 56%)
HSVhsv(246, 71%, 87%)
CMYKcmyk(64.4%, 71.2%, 0%, 12.9%)
CIE-LABlab(38.90, 51.75, -78.10)
CIE-LCHlch(38.90, 93.69, 303.53°)
OKLaboklab(49.56% 0.033 -0.2255)
OKLCHoklch(49.56% 0.228 278.3)
XYZxyz(18.2384, 10.6015, 70.1782)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F40DE #CFDE40
analogous
#4080DE #4F40DE #9E40DE
triadic
#4F40DE #DE4F40 #40DE4F
tetradic
#4F40DE #DE4080 #CFDE40 #40DE9E
square
#4F40DE #DE4080 #CFDE40 #40DE9E
split-complementary
#4F40DE #DE9E40 #80DE40
monochromatic
#23188B #3021C0 #4F40DE #7F74E7 #AFA8F0

Accessibility & contrast

On white

6.73
#4F40DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F40DE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F40DE#FFFFFF#000000##FFFFFF
##4F40DE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0055DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f40de;
/* rgb */ color: rgb(79, 64, 222);
/* oklch */ color: oklch(49.6% 0.228 278.3);
Tailwind
colors: {
  custom: {
    50: '#9177ea',
    500: '#4f40de',
    950: '#000000',
  },
}
SCSS
$custom: #4f40de;
$custom-light: #9177ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f40de",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 245.696,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.22786,
    "h": 278.3
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#4F40DE
secondary
#D7DE9C
accent
#ED3ADC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F40DE

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

Preview Lab → · Contrast checker → · Palette generator →

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