#4F66CC#4F66CC

#4F66CC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.159 H 270.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F66CC
RGBrgb(79, 102, 204)
HSLhsl(229, 55%, 55%)
HSVhsv(229, 61%, 80%)
CMYKcmyk(61.3%, 50%, 0%, 20%)
CIE-LABlab(46.34, 22.97, -55.67)
CIE-LCHlch(46.34, 60.23, 292.42°)
OKLaboklab(54.6% 0.0021 -0.1594)
OKLCHoklch(54.6% 0.159 270.7)
XYZxyz(18.8713, 15.5231, 59.1168)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F66CC #CCB54F
analogous
#4FA4CC #4F66CC #764FCC
triadic
#4F66CC #CC4F66 #66CC4F
tetradic
#4F66CC #CC4FA4 #CCB54F #4FCC76
square
#4F66CC #CC4FA4 #CCB54F #4FCC76
split-complementary
#4F66CC #CC764F #A4CC4F
monochromatic
#24347D #3248AC #4F66CC #7E8FDA #AEB8E7

Accessibility & contrast

On white

5.12
#4F66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4F66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F66CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F66CC#FFFFFF#000000##FFFFFF
##4F66CC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#1169CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f66cc;
/* rgb */ color: rgb(79, 102, 204);
/* oklch */ color: oklch(54.6% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#8c91dc',
    500: '#4f66cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f66cc;
$custom-light: #8c91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f66cc",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 228.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.1594,
    "h": 270.7
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#4F66CC
secondary
#D5CCA1
accent
#C349DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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