#4F4ABA#4F4ABA

#4F4ABA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.171 H 279.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4F4ABA
RGBrgb(79, 74, 186)
HSLhsl(243, 45%, 51%)
HSVhsv(243, 60%, 73%)
CMYKcmyk(57.5%, 60.2%, 0%, 27.1%)
CIE-LABlab(38.03, 34.49, -58.67)
CIE-LCHlch(38.03, 68.06, 300.45°)
OKLaboklab(47.99% 0.029 -0.1685)
OKLCHoklch(47.99% 0.171 279.8)
XYZxyz(14.5334, 10.1040, 47.6293)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ABA #B5BA4A
analogous
#4A7DBA #4F4ABA #874ABA
triadic
#4F4ABA #BA4F4A #4ABA4F
tetradic
#4F4ABA #BA4A7D #B5BA4A #4ABA87
square
#4F4ABA #BA4A7D #B5BA4A #4ABA87
split-complementary
#4F4ABA #BA874A #7DBA4A
monochromatic
#292664 #3B3790 #4F4ABA #7A76CB #A5A3DC

Accessibility & contrast

On white

6.95
#4F4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ABA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ABA#FFFFFF#000000##FFFFFF
##4F4ABA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#10657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4aba;
/* rgb */ color: rgb(79, 74, 186);
/* oklch */ color: oklch(48.0% 0.171 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a7dd0',
    500: '#4f4aba',
    950: '#000000',
  },
}
SCSS
$custom: #4f4aba;
$custom-light: #8a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4aba",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 242.679,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.17096,
    "h": 279.8
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#4F4ABA
secondary
#C6C997
accent
#D553CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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