#4F4FBD#4F4FBD

#4F4FBD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.169 H 278.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4F4FBD
RGBrgb(79, 79, 189)
HSLhsl(240, 45%, 53%)
HSVhsv(240, 58%, 74%)
CMYKcmyk(58.2%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.46, 32.37, -58.11)
CIE-LCHlch(39.46, 66.52, 299.12°)
OKLaboklab(49.11% 0.0241 -0.1668)
OKLCHoklch(49.11% 0.169 278.2)
XYZxyz(15.2028, 10.9273, 49.4423)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FBD #BDBD4F
analogous
#4F86BD #4F4FBD #864FBD
triadic
#4F4FBD #BD4F4F #4FBD4F
tetradic
#4F4FBD #BD4F86 #BDBD4F #4FBD86
square
#4F4FBD #BD4F86 #BDBD4F #4FBD86
split-complementary
#4F4FBD #BD864F #86BD4F
monochromatic
#28286A #383896 #4F4FBD #7C7CCE #A8A8DE

Accessibility & contrast

On white

6.59
#4F4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4F4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FBD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FBD#FFFFFF#000000##FFFFFF
##4F4FBD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#04697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f4fbd;
/* rgb */ color: rgb(79, 79, 189);
/* oklch */ color: oklch(49.1% 0.169 278.2);
Tailwind
colors: {
  custom: {
    50: '#8a80d2',
    500: '#4f4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fbd;
$custom-light: #8a80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fbd",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.16852,
    "h": 278.2
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#4F4FBD
secondary
#CCCC9C
accent
#D553D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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