#4F6CD9#4F6CD9

#4F6CD9 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.170 H 269.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F6CD9
RGBrgb(79, 108, 217)
HSLhsl(227, 64%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(63.6%, 50.2%, 0%, 14.9%)
CIE-LABlab(48.75, 23.67, -59.21)
CIE-LCHlch(48.75, 63.76, 291.79°)
OKLaboklab(56.7% -0.0024 -0.1697)
OKLCHoklch(56.7% 0.17 269.2)
XYZxyz(21.1071, 17.3953, 67.8775)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CD9 #D9BC4F
analogous
#4FB1D9 #4F6CD9 #774FD9
triadic
#4F6CD9 #D94F6C #6CD94F
tetradic
#4F6CD9 #D94FB1 #D9BC4F #4FD977
square
#4F6CD9 #D94FB1 #D9BC4F #4FD977
split-complementary
#4F6CD9 #D9774F #B1D94F
monochromatic
#1F368F #2A4AC1 #4F6CD9 #8196E4 #B4C0EF

Accessibility & contrast

On white

4.69
#4F6CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4F6CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CD9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CD9#FFFFFF#000000##FFFFFF
##4F6CD91.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f6cd9;
/* rgb */ color: rgb(79, 108, 217);
/* oklch */ color: oklch(56.7% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#8e95e5',
    500: '#4f6cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cd9;
$custom-light: #8e95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cd9",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 227.391,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.16973,
    "h": 269.2
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#4F6CD9
secondary
#DDD2A6
accent
#C440E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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