#4F6FCF#4F6FCF

#4F6FCF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.6% C 0.152 H 267.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4F6FCF
RGBrgb(79, 111, 207)
HSLhsl(225, 57%, 56%)
HSVhsv(225, 62%, 81%)
CMYKcmyk(61.8%, 46.4%, 0%, 18.8%)
CIE-LABlab(48.93, 18.37, -53.24)
CIE-LCHlch(48.93, 56.32, 289.03°)
OKLaboklab(56.63% -0.0066 -0.1521)
OKLCHoklch(56.63% 0.152 267.5)
XYZxyz(20.1675, 17.5344, 61.3411)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6FCF #CFAF4F
analogous
#4FAFCF #4F6FCF #6F4FCF
triadic
#4F6FCF #CF4F6F #6FCF4F
tetradic
#4F6FCF #CF4FAF #CFAF4F #4FCF6F
square
#4F6FCF #CF4FAF #CFAF4F #4FCF6F
split-complementary
#4F6FCF #CF6F4F #AFCF4F
monochromatic
#233A81 #3050B1 #4F6FCF #7F96DC #AFBEE9

Accessibility & contrast

On white

4.66
#4F6FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4F6FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6FCF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6FCF#FFFFFF#000000##FFFFFF
##4F6FCF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f6fcf;
/* rgb */ color: rgb(79, 111, 207);
/* oklch */ color: oklch(56.6% 0.152 267.5);
Tailwind
colors: {
  custom: {
    50: '#8c97de',
    500: '#4f6fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f6fcf;
$custom-light: #8c97de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6fcf",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 225,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.15226,
    "h": 267.5
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#4F6FCF
secondary
#D7CAA2
accent
#BA47E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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