#4766DB#4766DB

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

Color values

HEX#4766DB
RGBrgb(71, 102, 219)
HSLhsl(227, 67%, 57%)
HSVhsv(227, 68%, 86%)
CMYKcmyk(67.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(46.92, 26.86, -63.33)
CIE-LCHlch(46.92, 68.79, 292.98°)
OKLaboklab(55.24% -0.0045 -0.1821)
OKLCHoklch(55.24% 0.182 268.6)
XYZxyz(20.1317, 15.9549, 69.0227)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4766DB #DBBC47
analogous
#47B0DB #4766DB #7247DB
triadic
#4766DB #DB4766 #66DB47
tetradic
#4766DB #DB47B0 #DBBC47 #47DB72
square
#4766DB #DB47B0 #DBBC47 #47DB72
split-complementary
#4766DB #DB7247 #B0DB47
monochromatic
#1B338C #2546BF #4766DB #7A91E5 #ADBBEF

Accessibility & contrast

On white

5.01
#4766DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4766DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4766DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4766DB#FFFFFF#000000##FFFFFF
##4766DB1.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)
#0E76DF
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4766db;
/* rgb */ color: rgb(71, 102, 219);
/* oklch */ color: oklch(55.2% 0.182 268.6);
Tailwind
colors: {
  custom: {
    50: '#8b91e7',
    500: '#4766db',
    950: '#000000',
  },
}
SCSS
$custom: #4766db;
$custom-light: #8b91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4766db",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 227.432,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.18217,
    "h": 268.6
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#4766DB
secondary
#DDD0A1
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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