#4F6DCF#4F6DCF

#4F6DCF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.155 H 268.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F6DCF
RGBrgb(79, 109, 207)
HSLhsl(226, 57%, 56%)
HSVhsv(226, 62%, 81%)
CMYKcmyk(61.8%, 47.3%, 0%, 18.8%)
CIE-LABlab(48.39, 19.62, -54.10)
CIE-LCHlch(48.39, 57.55, 289.93°)
OKLaboklab(56.22% -0.0046 -0.1547)
OKLCHoklch(56.22% 0.155 268.3)
XYZxyz(19.9517, 17.1028, 61.2691)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6DCF #CFB14F
analogous
#4FADCF #4F6DCF #714FCF
triadic
#4F6DCF #CF4F6D #6DCF4F
tetradic
#4F6DCF #CF4FAD #CFB14F #4FCF71
square
#4F6DCF #CF4FAD #CFB14F #4FCF71
split-complementary
#4F6DCF #CF714F #ADCF4F
monochromatic
#233981 #304EB1 #4F6DCF #7F95DC #AFBDE9

Accessibility & contrast

On white

4.75
#4F6DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4F6DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6DCF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6DCF#FFFFFF#000000##FFFFFF
##4F6DCF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#256DCD
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6dcf;
/* rgb */ color: rgb(79, 109, 207);
/* oklch */ color: oklch(56.2% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#8c96de',
    500: '#4f6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f6dcf;
$custom-light: #8c96de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6dcf",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 225.938,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.15475,
    "h": 268.3
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#4F6DCF
secondary
#D7CBA2
accent
#BD47E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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