#4D66B2#4D66B2

#4D66B2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.123 H 268.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4D66B2
RGBrgb(77, 102, 178)
HSLhsl(225, 40%, 50%)
HSVhsv(225, 57%, 70%)
CMYKcmyk(56.7%, 42.7%, 0%, 30.2%)
CIE-LABlab(44.65, 13.76, -43.33)
CIE-LCHlch(44.65, 45.46, 287.61°)
OKLaboklab(52.77% -0.0037 -0.1232)
OKLCHoklch(52.77% 0.123 268.3)
XYZxyz(15.8451, 14.2937, 44.0348)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66B2 #B2994D
analogous
#4D98B2 #4D66B2 #674DB2
triadic
#4D66B2 #B24D66 #66B24D
tetradic
#4D66B2 #B24D98 #B2994D #4DB267
square
#4D66B2 #B24D98 #B2994D #4DB267
split-complementary
#4D66B2 #B2674D #98B24D
monochromatic
#28355D #3B4E87 #4D66B2 #788BC4 #A2AFD7

Accessibility & contrast

On white

5.44
#4D66B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4D66B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66B2#FFFFFF#000000##FFFFFF
##4D66B21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#0B7783
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d66b2;
/* rgb */ color: rgb(77, 102, 178);
/* oklch */ color: oklch(52.8% 0.123 268.3);
Tailwind
colors: {
  custom: {
    50: '#8691c9',
    500: '#4d66b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d66b2;
$custom-light: #8691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66b2",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 225.149,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.12324,
    "h": 268.3
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#4D66B2
secondary
#C4B997
accent
#B258CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D66B2

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

Preview Lab → · Contrast checker → · Palette generator →

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