#4F5AAA#4F5AAA

#4F5AAA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.127 H 274.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4F5AAA
RGBrgb(79, 90, 170)
HSLhsl(233, 37%, 49%)
HSVhsv(233, 54%, 67%)
CMYKcmyk(53.5%, 47.1%, 0%, 33.3%)
CIE-LABlab(41.02, 19.13, -44.42)
CIE-LCHlch(41.02, 48.36, 293.30°)
OKLaboklab(49.88% 0.0109 -0.1264)
OKLCHoklch(49.88% 0.127 274.9)
XYZxyz(14.1340, 11.8759, 39.5699)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AAA #AA9F4F
analogous
#4F88AA #4F5AAA #724FAA
triadic
#4F5AAA #AA4F5A #5AAA4F
tetradic
#4F5AAA #AA4F88 #AA9F4F #4FAA72
square
#4F5AAA #AA4F88 #AA9F4F #4FAA72
split-complementary
#4F5AAA #AA724F #88AA4F
monochromatic
#282E56 #3C4480 #4F5AAA #777FC0 #A0A6D3

Accessibility & contrast

On white

6.22
#4F5AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4F5AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AAA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AAA#FFFFFF#000000##FFFFFF
##4F5AAA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#256B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f5aaa;
/* rgb */ color: rgb(79, 90, 170);
/* oklch */ color: oklch(49.9% 0.127 274.9);
Tailwind
colors: {
  custom: {
    50: '#8788c4',
    500: '#4f5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aaa;
$custom-light: #8788c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aaa",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 232.747,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.12691,
    "h": 274.9
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#4F5AAA
secondary
#C0BB95
accent
#BF5BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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