#4F5FA5#4F5FA5

#4F5FA5 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.113 H 272.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F5FA5
RGBrgb(79, 95, 165)
HSLhsl(229, 35%, 48%)
HSVhsv(229, 52%, 65%)
CMYKcmyk(52.1%, 42.4%, 0%, 35.3%)
CIE-LABlab(42.10, 14.31, -39.74)
CIE-LCHlch(42.10, 42.24, 289.80°)
OKLaboklab(50.61% 0.0042 -0.1127)
OKLCHoklch(50.61% 0.113 272.1)
XYZxyz(14.1060, 12.5624, 37.2715)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FA5 #A5954F
analogous
#4F8AA5 #4F5FA5 #6A4FA5
triadic
#4F5FA5 #A54F5F #5FA54F
tetradic
#4F5FA5 #A54F8A #A5954F #4FA56A
square
#4F5FA5 #A54F8A #A5954F #4FA56A
split-complementary
#4F5FA5 #A56A4F #8AA54F
monochromatic
#272F52 #3B477C #4F5FA5 #7582BD #9EA7D1

Accessibility & contrast

On white

5.98
#4F5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FA5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FA5#FFFFFF#000000##FFFFFF
##4F5FA51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#296E7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5fa5;
/* rgb */ color: rgb(79, 95, 165);
/* oklch */ color: oklch(50.6% 0.113 272.1);
Tailwind
colors: {
  custom: {
    50: '#868cc0',
    500: '#4f5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fa5;
$custom-light: #868cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fa5",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 228.837,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.11276,
    "h": 272.1
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#4F5FA5
secondary
#BDB592
accent
#B75DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4F5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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