#4766CF#4766CF

#4766CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.166 H 268.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4766CF
RGBrgb(71, 102, 207)
HSLhsl(226, 59%, 55%)
HSVhsv(226, 66%, 81%)
CMYKcmyk(65.7%, 50.7%, 0%, 18.8%)
CIE-LABlab(46.10, 22.64, -57.80)
CIE-LCHlch(46.10, 62.08, 291.39°)
OKLaboklab(54.37% -0.0055 -0.1658)
OKLCHoklch(54.37% 0.166 268.1)
XYZxyz(18.6085, 15.3456, 61.0007)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766CF #CFB047
analogous
#47AACF #4766CF #6C47CF
triadic
#4766CF #CF4766 #66CF47
tetradic
#4766CF #CF47AA #CFB047 #47CF6C
square
#4766CF #CF47AA #CFB047 #47CF6C
split-complementary
#4766CF #CF6C47 #AACF47
monochromatic
#20357B #2D4AAC #4766CF #788EDC #A8B7E8

Accessibility & contrast

On white

5.16
#4766CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4766CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766CF#FFFFFF#000000##FFFFFF
##4766CF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4766cf;
/* rgb */ color: rgb(71, 102, 207);
/* oklch */ color: oklch(54.4% 0.166 268.1);
Tailwind
colors: {
  custom: {
    50: '#8891de',
    500: '#4766cf',
    950: '#000000',
  },
}
SCSS
$custom: #4766cf;
$custom-light: #8891de;
$custom-dark: #000000;
JSON
{
  "hex": "#4766cf",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 226.324,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.16591,
    "h": 268.1
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#4766CF
secondary
#D6C99C
accent
#BE46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4766CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4766CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva