#4D66BF#4D66BF

#4D66BF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.6% C 0.142 H 269.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D66BF
RGBrgb(77, 102, 191)
HSLhsl(227, 47%, 53%)
HSVhsv(227, 60%, 75%)
CMYKcmyk(59.7%, 46.6%, 0%, 25.1%)
CIE-LABlab(45.42, 18.16, -49.67)
CIE-LCHlch(45.42, 52.89, 290.08°)
OKLaboklab(53.61% -0.0016 -0.1418)
OKLCHoklch(53.61% 0.142 269.4)
XYZxyz(17.2128, 14.8407, 51.2376)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66BF #BFA64D
analogous
#4D9FBF #4D66BF #6D4DBF
triadic
#4D66BF #BF4D66 #66BF4D
tetradic
#4D66BF #BF4D9F #BFA64D #4DBF6D
square
#4D66BF #BF4D9F #BFA64D #4DBF6D
split-complementary
#4D66BF #BF6D4D #9FBF4D
monochromatic
#27366B #374C98 #4D66BF #7A8DCF #A7B3DF

Accessibility & contrast

On white

5.29
#4D66BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D66BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66BF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66BF#FFFFFF#000000##FFFFFF
##4D66BF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#2A67BD
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d66bf;
/* rgb */ color: rgb(77, 102, 191);
/* oklch */ color: oklch(53.6% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#8891d3',
    500: '#4d66bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d66bf;
$custom-light: #8891d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66bf",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 226.842,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.14181,
    "h": 269.4
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#4D66BF
secondary
#CDC29B
accent
#B951D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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