#4F40DA#4F40DA

#4F40DA is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.223 H 278.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4F40DA
RGBrgb(79, 64, 218)
HSLhsl(246, 68%, 55%)
HSVhsv(246, 71%, 85%)
CMYKcmyk(63.8%, 70.6%, 0%, 14.5%)
CIE-LABlab(38.53, 50.52, -76.42)
CIE-LCHlch(38.53, 91.61, 303.47°)
OKLaboklab(49.18% 0.0337 -0.2205)
OKLCHoklch(49.18% 0.223 278.7)
XYZxyz(17.7087, 10.3896, 67.3883)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F40DA #CBDA40
analogous
#407EDA #4F40DA #9C40DA
triadic
#4F40DA #DA4F40 #40DA4F
tetradic
#4F40DA #DA407E #CBDA40 #40DA9C
square
#4F40DA #DA407E #CBDA40 #40DA9C
split-complementary
#4F40DA #DA9C40 #7EDA40
monochromatic
#241A86 #3224B9 #4F40DA #7E73E4 #ADA7EE

Accessibility & contrast

On white

6.82
#4F40DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F40DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F40DA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F40DA#FFFFFF#000000##FFFFFF
##4F40DA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006A89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f40da;
/* rgb */ color: rgb(79, 64, 218);
/* oklch */ color: oklch(49.2% 0.223 278.7);
Tailwind
colors: {
  custom: {
    50: '#9177e7',
    500: '#4f40da',
    950: '#000000',
  },
}
SCSS
$custom: #4f40da;
$custom-light: #9177e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f40da",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 245.844,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.22311,
    "h": 278.7
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#4F40DA
secondary
#D5DB9B
accent
#EA3DDA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F40DA

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

Preview Lab → · Contrast checker → · Palette generator →

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