#4F4FB9#4F4FB9

#4F4FB9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.163 H 278.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4F4FB9
RGBrgb(79, 79, 185)
HSLhsl(240, 43%, 52%)
HSVhsv(240, 57%, 73%)
CMYKcmyk(57.3%, 57.3%, 0%, 27.5%)
CIE-LABlab(39.17, 31.05, -56.24)
CIE-LCHlch(39.17, 64.24, 298.91°)
OKLaboklab(48.81% 0.0241 -0.1613)
OKLCHoklch(48.81% 0.163 278.5)
XYZxyz(14.7746, 10.7560, 47.1871)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FB9 #B9B94F
analogous
#4F84B9 #4F4FB9 #844FB9
triadic
#4F4FB9 #B94F4F #4FB94F
tetradic
#4F4FB9 #B94F84 #B9B94F #4FB984
square
#4F4FB9 #B94F84 #B9B94F #4FB984
split-complementary
#4F4FB9 #B9844F #84B94F
monochromatic
#282865 #3A3A91 #4F4FB9 #7B7BCA #A7A7DC

Accessibility & contrast

On white

6.66
#4F4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4F4FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FB9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FB9#FFFFFF#000000##FFFFFF
##4F4FB91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#11687C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f4fb9;
/* rgb */ color: rgb(79, 79, 185);
/* oklch */ color: oklch(48.8% 0.163 278.5);
Tailwind
colors: {
  custom: {
    50: '#8a80cf',
    500: '#4f4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fb9;
$custom-light: #8a80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fb9",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.16308,
    "h": 278.5
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#4F4FB9
secondary
#C9C99B
accent
#D355D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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