#4D66B0#4D66B0

#4D66B0 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.6% C 0.120 H 268.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D66B0
RGBrgb(77, 102, 176)
HSLhsl(225, 39%, 50%)
HSVhsv(225, 56%, 69%)
CMYKcmyk(56.2%, 42%, 0%, 31%)
CIE-LABlab(44.54, 13.08, -42.34)
CIE-LCHlch(44.54, 44.32, 287.17°)
OKLaboklab(52.65% -0.0041 -0.1203)
OKLCHoklch(52.65% 0.12 268)
XYZxyz(15.6458, 14.2139, 42.9850)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66B0 #B0974D
analogous
#4D98B0 #4D66B0 #654DB0
triadic
#4D66B0 #B04D66 #66B04D
tetradic
#4D66B0 #B04D98 #B0974D #4DB065
square
#4D66B0 #B04D98 #B0974D #4DB065
split-complementary
#4D66B0 #B0654D #98B04D
monochromatic
#28355B #3A4D85 #4D66B0 #778AC3 #A1AFD6

Accessibility & contrast

On white

5.46
#4D66B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4D66B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66B0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66B0#FFFFFF#000000##FFFFFF
##4D66B01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#107682
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d66b0;
/* rgb */ color: rgb(77, 102, 176);
/* oklch */ color: oklch(52.6% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#8691c8',
    500: '#4d66b0',
    950: '#000000',
  },
}
SCSS
$custom: #4d66b0;
$custom-light: #8691c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66b0",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 224.848,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.12035,
    "h": 268
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#4D66B0
secondary
#C3B896
accent
#B159CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D66B0

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

Preview Lab → · Contrast checker → · Palette generator →

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