#4F5FA4#4F5FA4

#4F5FA4 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.5% C 0.111 H 272.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4F5FA4
RGBrgb(79, 95, 164)
HSLhsl(229, 35%, 48%)
HSVhsv(229, 52%, 64%)
CMYKcmyk(51.8%, 42.1%, 0%, 35.7%)
CIE-LABlab(42.04, 13.98, -39.24)
CIE-LCHlch(42.04, 41.65, 289.61°)
OKLaboklab(50.55% 0.004 -0.1112)
OKLCHoklch(50.55% 0.111 272)
XYZxyz(14.0153, 12.5261, 36.7940)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FA4 #A4944F
analogous
#4F89A4 #4F5FA4 #6A4FA4
triadic
#4F5FA4 #A44F5F #5FA44F
tetradic
#4F5FA4 #A44F89 #A4944F #4FA46A
square
#4F5FA4 #A44F89 #A4944F #4FA46A
split-complementary
#4F5FA4 #A46A4F #89A44F
monochromatic
#272F51 #3B477B #4F5FA4 #7482BC #9DA7D0

Accessibility & contrast

On white

5.99
#4F5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F5FA4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FA4#FFFFFF#000000##FFFFFF
##4F5FA41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#2A6E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5fa4;
/* rgb */ color: rgb(79, 95, 164);
/* oklch */ color: oklch(50.5% 0.111 272.0);
Tailwind
colors: {
  custom: {
    50: '#868cbf',
    500: '#4f5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fa4;
$custom-light: #868cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fa4",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 228.706,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.11127,
    "h": 272
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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