#4F5BCF#4F5BCF

#4F5BCF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.177 H 274.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F5BCF
RGBrgb(79, 91, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(61.8%, 56%, 0%, 18.8%)
CIE-LABlab(43.72, 30.89, -61.63)
CIE-LCHlch(43.72, 68.93, 296.62°)
OKLaboklab(52.7% 0.0128 -0.177)
OKLCHoklch(52.7% 0.177 274.1)
XYZxyz(18.2243, 13.6479, 60.6933)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BCF #CFC34F
analogous
#4F9BCF #4F5BCF #834FCF
triadic
#4F5BCF #CF4F5B #5BCF4F
tetradic
#4F5BCF #CF4F9B #CFC34F #4FCF83
square
#4F5BCF #CF4F9B #CFC34F #4FCF83
split-complementary
#4F5BCF #CF834F #9BCF4F
monochromatic
#232C81 #303CB1 #4F5BCF #7F88DC #AFB5E9

Accessibility & contrast

On white

5.63
#4F5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F5BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BCF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BCF#FFFFFF#000000##FFFFFF
##4F5BCF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5bcf;
/* rgb */ color: rgb(79, 91, 207);
/* oklch */ color: oklch(52.7% 0.177 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d89de',
    500: '#4f5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bcf;
$custom-light: #8d89de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bcf",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 234.375,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.17749,
    "h": 274.1
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#4F5BCF
secondary
#D7D2A2
accent
#D247E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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