#4F5BCE#4F5BCE

#4F5BCE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.176 H 274.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4F5BCE
RGBrgb(79, 91, 206)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(61.7%, 55.8%, 0%, 19.2%)
CIE-LABlab(43.65, 30.55, -61.17)
CIE-LCHlch(43.65, 68.37, 296.54°)
OKLaboklab(52.62% 0.0128 -0.1757)
OKLCHoklch(52.62% 0.176 274.2)
XYZxyz(18.1024, 13.5992, 60.0515)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BCE #CEC24F
analogous
#4F9ACE #4F5BCE #824FCE
triadic
#4F5BCE #CE4F5B #5BCE4F
tetradic
#4F5BCE #CE4F9A #CEC24F #4FCE82
square
#4F5BCE #CE4F9A #CEC24F #4FCE82
split-complementary
#4F5BCE #CE824F #9ACE4F
monochromatic
#232C7F #313DAF #4F5BCE #7F88DB #AFB4E9

Accessibility & contrast

On white

5.64
#4F5BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4F5BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BCE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BCE#FFFFFF#000000##FFFFFF
##4F5BCE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5bce;
/* rgb */ color: rgb(79, 91, 206);
/* oklch */ color: oklch(52.6% 0.176 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d89de',
    500: '#4f5bce',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bce;
$custom-light: #8d89de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bce",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 234.331,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.17614,
    "h": 274.2
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#4F5BCE
secondary
#D7D2A2
accent
#D148E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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