#4F5BCD#4F5BCD

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

Color values

HEX#4F5BCD
RGBrgb(79, 91, 205)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 80%)
CMYKcmyk(61.5%, 55.6%, 0%, 19.6%)
CIE-LABlab(43.58, 30.22, -60.71)
CIE-LCHlch(43.58, 67.81, 296.46°)
OKLaboklab(52.55% 0.0127 -0.1743)
OKLCHoklch(52.55% 0.175 274.2)
XYZxyz(17.9814, 13.5508, 59.4138)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BCD #CDC14F
analogous
#4F9ACD #4F5BCD #824FCD
triadic
#4F5BCD #CD4F5B #5BCD4F
tetradic
#4F5BCD #CD4F9A #CDC14F #4FCD82
square
#4F5BCD #CD4F9A #CDC14F #4FCD82
split-complementary
#4F5BCD #CD824F #9ACD4F
monochromatic
#242C7E #313DAE #4F5BCD #7F87DB #AEB4E8

Accessibility & contrast

On white

5.66
#4F5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BCD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BCD#FFFFFF#000000##FFFFFF
##4F5BCD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5bcd;
/* rgb */ color: rgb(79, 91, 205);
/* oklch */ color: oklch(52.5% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c89dd',
    500: '#4f5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bcd;
$custom-light: #8c89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bcd",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 234.286,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.1748,
    "h": 274.2
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#4F5BCD
secondary
#D6D1A2
accent
#D149DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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