#4F4FC8#4F4FC8

#4F4FC8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.183 H 277.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4F4FC8
RGBrgb(79, 79, 200)
HSLhsl(240, 52%, 55%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(40.28, 35.99, -63.17)
CIE-LCHlch(40.28, 72.71, 299.67°)
OKLaboklab(49.99% 0.0238 -0.1817)
OKLCHoklch(49.99% 0.183 277.5)
XYZxyz(16.4424, 11.4231, 55.9708)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FC8 #C8C84F
analogous
#4F8CC8 #4F4FC8 #8C4FC8
triadic
#4F4FC8 #C84F4F #4FC84F
tetradic
#4F4FC8 #C84F8C #C8C84F #4FC88C
square
#4F4FC8 #C84F8C #C8C84F #4FC88C
split-complementary
#4F4FC8 #C88C4F #8CC84F
monochromatic
#252577 #3434A6 #4F4FC8 #7E7ED7 #ACACE5

Accessibility & contrast

On white

6.39
#4F4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4F4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FC8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FC8#FFFFFF#000000##FFFFFF
##4F4FC81.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4fc8;
/* rgb */ color: rgb(79, 79, 200);
/* oklch */ color: oklch(50.0% 0.183 277.5);
Tailwind
colors: {
  custom: {
    50: '#8c80da',
    500: '#4f4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fc8;
$custom-light: #8c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fc8",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.18324,
    "h": 277.5
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#4F4FC8
secondary
#D3D3A0
accent
#DC4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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