#4F66D7#4F66D7

#4F66D7 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.174 H 271.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F66D7
RGBrgb(79, 102, 215)
HSLhsl(230, 63%, 58%)
HSVhsv(230, 63%, 84%)
CMYKcmyk(63.3%, 52.6%, 0%, 15.7%)
CIE-LABlab(47.07, 26.73, -60.79)
CIE-LCHlch(47.07, 66.41, 293.74°)
OKLaboklab(55.38% 0.003 -0.1745)
OKLCHoklch(55.38% 0.174 271)
XYZxyz(20.2374, 16.0695, 66.3121)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66D7 #D7C04F
analogous
#4FAAD7 #4F66D7 #7C4FD7
triadic
#4F66D7 #D74F66 #66D74F
tetradic
#4F66D7 #D74FAA #D7C04F #4FD77C
square
#4F66D7 #D74FAA #D7C04F #4FD77C
split-complementary
#4F66D7 #D77C4F #AAD74F
monochromatic
#20328C #2B44BE #4F66D7 #8191E2 #B3BDEE

Accessibility & contrast

On white

4.98
#4F66D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4F66D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66D7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66D7#FFFFFF#000000##FFFFFF
##4F66D71.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DB
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f66d7;
/* rgb */ color: rgb(79, 102, 215);
/* oklch */ color: oklch(55.4% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#8e91e4',
    500: '#4f66d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f66d7;
$custom-light: #8e91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66d7",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 229.853,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.17449,
    "h": 271
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#4F66D7
secondary
#DCD3A6
accent
#CA42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F66D7

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

Preview Lab → · Contrast checker → · Palette generator →

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