#4F6DCD#4F6DCD

#4F6DCD is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.152 H 268.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F6DCD
RGBrgb(79, 109, 205)
HSLhsl(226, 56%, 56%)
HSVhsv(226, 61%, 80%)
CMYKcmyk(61.5%, 46.8%, 0%, 19.6%)
CIE-LABlab(48.27, 18.93, -53.15)
CIE-LCHlch(48.27, 56.42, 289.60°)
OKLaboklab(56.08% -0.0048 -0.1519)
OKLCHoklch(56.08% 0.152 268.2)
XYZxyz(19.7088, 17.0056, 59.9896)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6DCD #CDAF4F
analogous
#4FACCD #4F6DCD #704FCD
triadic
#4F6DCD #CD4F6D #6DCD4F
tetradic
#4F6DCD #CD4FAC #CDAF4F #4FCD70
square
#4F6DCD #CD4FAC #CDAF4F #4FCD70
split-complementary
#4F6DCD #CD704F #ACCD4F
monochromatic
#24397E #314FAE #4F6DCD #7F95DB #AEBCE8

Accessibility & contrast

On white

4.77
#4F6DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4F6DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6DCD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6DCD#FFFFFF#000000##FFFFFF
##4F6DCD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6dcd;
/* rgb */ color: rgb(79, 109, 205);
/* oklch */ color: oklch(56.1% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#8b96dd',
    500: '#4f6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4f6dcd;
$custom-light: #8b96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6dcd",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 225.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.15198,
    "h": 268.2
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#4F6DCD
secondary
#D6CAA2
accent
#BB49DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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