#4F4DBA#4F4DBA

#4F4DBA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.167 H 279.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4F4DBA
RGBrgb(79, 77, 186)
HSLhsl(241, 44%, 52%)
HSVhsv(241, 59%, 73%)
CMYKcmyk(57.5%, 58.6%, 0%, 27.1%)
CIE-LABlab(38.75, 32.63, -57.50)
CIE-LCHlch(38.75, 66.11, 299.58°)
OKLaboklab(48.52% 0.0261 -0.165)
OKLCHoklch(48.52% 0.167 279)
XYZxyz(14.7384, 10.5142, 47.6976)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DBA #B8BA4D
analogous
#4D82BA #4F4DBA #864DBA
triadic
#4F4DBA #BA4F4D #4DBA4F
tetradic
#4F4DBA #BA4D82 #B8BA4D #4DBA86
square
#4F4DBA #BA4D82 #B8BA4D #4DBA86
split-complementary
#4F4DBA #BA864D #82BA4D
monochromatic
#282765 #3A3891 #4F4DBA #7B79CB #A6A5DC

Accessibility & contrast

On white

6.77
#4F4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4F4DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DBA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DBA#FFFFFF#000000##FFFFFF
##4F4DBA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#0F677C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4dba;
/* rgb */ color: rgb(79, 77, 186);
/* oklch */ color: oklch(48.5% 0.167 279.0);
Tailwind
colors: {
  custom: {
    50: '#8a7fcf',
    500: '#4f4dba',
    950: '#000000',
  },
}
SCSS
$custom: #4f4dba;
$custom-light: #8a7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4dba",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 241.101,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.16707,
    "h": 279
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#4F4DBA
secondary
#C8C999
accent
#D454D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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