#4F5BDA#4F5BDA

#4F5BDA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.192 H 273.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F5BDA
RGBrgb(79, 91, 218)
HSLhsl(235, 65%, 58%)
HSVhsv(235, 64%, 85%)
CMYKcmyk(63.8%, 58.3%, 0%, 14.5%)
CIE-LABlab(44.53, 34.60, -66.62)
CIE-LCHlch(44.53, 75.07, 297.44°)
OKLaboklab(53.55% 0.0129 -0.1917)
OKLCHoklch(53.55% 0.192 273.9)
XYZxyz(19.6162, 14.2047, 68.0241)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BDA #DACE4F
analogous
#4FA0DA #4F5BDA #884FDA
triadic
#4F5BDA #DA4F5B #5BDA4F
tetradic
#4F5BDA #DA4FA0 #DACE4F #4FDA88
square
#4F5BDA #DA4FA0 #DACE4F #4FDA88
split-complementary
#4F5BDA #DA884F #A0DA4F
monochromatic
#1E2890 #2936C3 #4F5BDA #828AE5 #B4B9EF

Accessibility & contrast

On white

5.47
#4F5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BDA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BDA#FFFFFF#000000##FFFFFF
##4F5BDA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5bda;
/* rgb */ color: rgb(79, 91, 218);
/* oklch */ color: oklch(53.5% 0.192 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f89e6',
    500: '#4f5bda',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bda;
$custom-light: #8f89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bda",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 234.82,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.19215,
    "h": 273.9
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#4F5BDA
secondary
#DED9A7
accent
#DA40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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