#4F5AAD#4F5AAD

#4F5AAD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.131 H 275.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F5AAD
RGBrgb(79, 90, 173)
HSLhsl(233, 37%, 49%)
HSVhsv(233, 54%, 68%)
CMYKcmyk(54.3%, 48%, 0%, 32.2%)
CIE-LABlab(41.20, 20.12, -45.90)
CIE-LCHlch(41.20, 50.11, 293.67°)
OKLaboklab(50.08% 0.0113 -0.1308)
OKLCHoklch(50.08% 0.131 275)
XYZxyz(14.4210, 11.9908, 41.0816)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AAD #ADA24F
analogous
#4F89AD #4F5AAD #734FAD
triadic
#4F5AAD #AD4F5A #5AAD4F
tetradic
#4F5AAD #AD4F89 #ADA24F #4FAD73
square
#4F5AAD #AD4F89 #ADA24F #4FAD73
split-complementary
#4F5AAD #AD734F #89AD4F
monochromatic
#292E59 #3C4483 #4F5AAD #7880C1 #A2A8D4

Accessibility & contrast

On white

6.18
#4F5AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4F5AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AAD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AAD#FFFFFF#000000##FFFFFF
##4F5AAD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465B0
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#226C7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f5aad;
/* rgb */ color: rgb(79, 90, 173);
/* oklch */ color: oklch(50.1% 0.131 275.0);
Tailwind
colors: {
  custom: {
    50: '#8788c6',
    500: '#4f5aad',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aad;
$custom-light: #8788c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aad",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 232.979,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.13127,
    "h": 275
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#4F5AAD
secondary
#C2BD96
accent
#C05BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4F5AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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