#4F66D5#4F66D5

#4F66D5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.172 H 271.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F66D5
RGBrgb(79, 102, 213)
HSLhsl(230, 61%, 57%)
HSVhsv(230, 63%, 84%)
CMYKcmyk(62.9%, 52.1%, 0%, 16.5%)
CIE-LABlab(46.93, 26.05, -59.87)
CIE-LCHlch(46.93, 65.29, 293.51°)
OKLaboklab(55.24% 0.0029 -0.1718)
OKLCHoklch(55.24% 0.172 271)
XYZxyz(19.9820, 15.9674, 64.9669)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66D5 #D5BE4F
analogous
#4FA9D5 #4F66D5 #7B4FD5
triadic
#4F66D5 #D54F66 #66D54F
tetradic
#4F66D5 #D54FA9 #D5BE4F #4FD57B
square
#4F66D5 #D54FA9 #D5BE4F #4FD57B
split-complementary
#4F66D5 #D57B4F #A9D54F
monochromatic
#213389 #2C45BA #4F66D5 #8091E1 #B2BCED

Accessibility & contrast

On white

5.01
#4F66D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4F66D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66D5#FFFFFF#000000##FFFFFF
##4F66D51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2175D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f66d5;
/* rgb */ color: rgb(79, 102, 213);
/* oklch */ color: oklch(55.2% 0.172 271.0);
Tailwind
colors: {
  custom: {
    50: '#8d91e3',
    500: '#4f66d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f66d5;
$custom-light: #8d91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66d5",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 229.701,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.17177,
    "h": 271
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#4F66D5
secondary
#DBD2A5
accent
#C943E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4F66D5

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

Preview Lab → · Contrast checker → · Palette generator →

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