#4F5D8A#4F5D8A

#4F5D8A is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.6% C 0.075 H 270.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5D8A
RGBrgb(79, 93, 138)
HSLhsl(226, 27%, 43%)
HSVhsv(226, 43%, 54%)
CMYKcmyk(42.8%, 32.6%, 0%, 45.9%)
CIE-LABlab(40.12, 6.99, -26.69)
CIE-LCHlch(40.12, 27.59, 284.68°)
OKLaboklab(48.63% 0.0003 -0.0747)
OKLCHoklch(48.63% 0.075 270.3)
XYZxyz(11.7248, 11.3254, 25.6080)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D8A #8A7C4F
analogous
#4F7A8A #4F5D8A #5F4F8A
triadic
#4F5D8A #8A4F5D #5D8A4F
tetradic
#4F5D8A #8A4F7A #8A7C4F #4F8A5F
square
#4F5D8A #8A4F7A #8A7C4F #4F8A5F
split-complementary
#4F5D8A #8A5F4F #7A8A4F
monochromatic
#22293C #394363 #4F5D8A #6C7BAB #939EC1

Accessibility & contrast

On white

6.43
#4F5D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4F5D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5D8A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D8A#FFFFFF#000000##FFFFFF
##4F5D8A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#3B666D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f5d8a;
/* rgb */ color: rgb(79, 93, 138);
/* oklch */ color: oklch(48.6% 0.075 270.3);
Tailwind
colors: {
  custom: {
    50: '#838aac',
    500: '#4f5d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d8a;
$custom-light: #838aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d8a",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 225.763,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.07469,
    "h": 270.3
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#4F5D8A
secondary
#AEA487
accent
#AD64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4F5D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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