#4F5D99#4F5D99

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

Color values

HEX#4F5D99
RGBrgb(79, 93, 153)
HSLhsl(229, 32%, 45%)
HSVhsv(229, 48%, 60%)
CMYKcmyk(48.4%, 39.2%, 0%, 40%)
CIE-LABlab(40.88, 11.69, -34.52)
CIE-LCHlch(40.88, 36.45, 288.71°)
OKLaboklab(49.46% 0.0042 -0.0974)
OKLCHoklch(49.46% 0.098 272.5)
XYZxyz(12.8868, 11.7901, 31.7275)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D99 #998B4F
analogous
#4F8299 #4F5D99 #664F99
triadic
#4F5D99 #994F5D #5D994F
tetradic
#4F5D99 #994F82 #998B4F #4F9966
square
#4F5D99 #994F82 #998B4F #4F9966
split-complementary
#4F5D99 #99664F #82994F
monochromatic
#252C48 #3A4471 #4F5D99 #707DB5 #98A2CA

Accessibility & contrast

On white

6.25
#4F5D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F5D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5D99
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D99#FFFFFF#000000##FFFFFF
##4F5D991.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649B
Deuteranopia (green-blind)
#3F5D98
Tritanopia (blue-blind)
#336A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f5d99;
/* rgb */ color: rgb(79, 93, 153);
/* oklch */ color: oklch(49.5% 0.098 272.5);
Tailwind
colors: {
  custom: {
    50: '#858ab7',
    500: '#4f5d99',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d99;
$custom-light: #858ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d99",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 228.649,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4946,
    "c": 0.09753,
    "h": 272.5
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#4F5D99
secondary
#B7AF8D
accent
#B460C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4F5D99

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

Preview Lab → · Contrast checker → · Palette generator →

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