#4F4FCA#4F4FCA

#4F4FCA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.186 H 277.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4F4FCA
RGBrgb(79, 79, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 61%, 79%)
CMYKcmyk(60.9%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.44, 36.65, -64.08)
CIE-LCHlch(40.44, 73.82, 299.77°)
OKLaboklab(50.15% 0.0238 -0.1844)
OKLCHoklch(50.15% 0.186 277.3)
XYZxyz(16.6777, 11.5172, 57.2098)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FCA #CACA4F
analogous
#4F8CCA #4F4FCA #8C4FCA
triadic
#4F4FCA #CA4F4F #4FCA4F
tetradic
#4F4FCA #CA4F8C #CACA4F #4FCA8C
square
#4F4FCA #CA4F8C #CACA4F #4FCA8C
split-complementary
#4F4FCA #CA8C4F #8CCA4F
monochromatic
#25257A #3333A9 #4F4FCA #7E7ED8 #ADADE6

Accessibility & contrast

On white

6.36
#4F4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4F4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FCA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FCA#FFFFFF#000000##FFFFFF
##4F4FCA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4fca;
/* rgb */ color: rgb(79, 79, 202);
/* oklch */ color: oklch(50.1% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#8d80db',
    500: '#4f4fca',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fca;
$custom-light: #8d80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fca",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.18587,
    "h": 277.3
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#4F4FCA
secondary
#D4D4A1
accent
#DD4BDD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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