#4F5FBD#4F5FBD

#4F5FBD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.147 H 273.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F5FBD
RGBrgb(79, 95, 189)
HSLhsl(231, 45%, 53%)
HSVhsv(231, 58%, 74%)
CMYKcmyk(58.2%, 49.7%, 0%, 25.9%)
CIE-LABlab(43.54, 22.30, -51.52)
CIE-LCHlch(43.54, 56.14, 293.40°)
OKLaboklab(52.17% 0.0077 -0.1473)
OKLCHoklch(52.17% 0.147 273)
XYZxyz(16.4990, 13.5196, 49.8743)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FBD #BDAD4F
analogous
#4F96BD #4F5FBD #764FBD
triadic
#4F5FBD #BD4F5F #5FBD4F
tetradic
#4F5FBD #BD4F96 #BDAD4F #4FBD76
square
#4F5FBD #BD4F96 #BDAD4F #4FBD76
split-complementary
#4F5FBD #BD764F #96BD4F
monochromatic
#28316A #384696 #4F5FBD #7C87CE #A8B0DE

Accessibility & contrast

On white

5.67
#4F5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4F5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FBD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FBD#FFFFFF#000000##FFFFFF
##4F5FBD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5fbd;
/* rgb */ color: rgb(79, 95, 189);
/* oklch */ color: oklch(52.2% 0.147 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8cd1',
    500: '#4f5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fbd;
$custom-light: #8a8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fbd",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 231.273,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.14747,
    "h": 273
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#4F5FBD
secondary
#CCC59C
accent
#C253D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4F5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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