#4F5AA4#4F5AA4

#4F5AA4 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.5% C 0.118 H 274.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4F5AA4
RGBrgb(79, 90, 164)
HSLhsl(232, 35%, 48%)
HSVhsv(232, 52%, 64%)
CMYKcmyk(51.8%, 45.1%, 0%, 35.7%)
CIE-LABlab(40.66, 17.16, -41.43)
CIE-LCHlch(40.66, 44.84, 292.50°)
OKLaboklab(49.49% 0.01 -0.1177)
OKLCHoklch(49.49% 0.118 274.9)
XYZxyz(13.5793, 11.6541, 36.6487)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AA4 #A4994F
analogous
#4F85A4 #4F5AA4 #6E4FA4
triadic
#4F5AA4 #A44F5A #5AA44F
tetradic
#4F5AA4 #A44F85 #A4994F #4FA46E
square
#4F5AA4 #A44F85 #A4994F #4FA46E
split-complementary
#4F5AA4 #A46E4F #85A44F
monochromatic
#272D51 #3B437B #4F5AA4 #747DBC #9DA4D0

Accessibility & contrast

On white

6.30
#4F5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AA4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AA4#FFFFFF#000000##FFFFFF
##4F5AA41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#325DA2
Tritanopia (blue-blind)
#2B6A77
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f5aa4;
/* rgb */ color: rgb(79, 90, 164);
/* oklch */ color: oklch(49.5% 0.118 274.9);
Tailwind
colors: {
  custom: {
    50: '#8688bf',
    500: '#4f5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aa4;
$custom-light: #8688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aa4",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 232.235,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.1181,
    "h": 274.9
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#4F5AA4
secondary
#BDB792
accent
#BD5DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4F5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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