#4D6BC2#4D6BC2

#4D6BC2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.140 H 267.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D6BC2
RGBrgb(77, 107, 194)
HSLhsl(225, 49%, 53%)
HSVhsv(225, 60%, 76%)
CMYKcmyk(60.3%, 44.8%, 0%, 23.9%)
CIE-LABlab(46.96, 16.04, -48.94)
CIE-LCHlch(46.96, 51.50, 288.15°)
OKLaboklab(54.84% -0.0064 -0.1396)
OKLCHoklch(54.84% 0.14 267.4)
XYZxyz(18.0526, 15.9867, 53.1629)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6BC2 #C2A44D
analogous
#4DA6C2 #4D6BC2 #694DC2
triadic
#4D6BC2 #C24D6B #6BC24D
tetradic
#4D6BC2 #C24DA6 #C2A44D #4DC269
square
#4D6BC2 #C24DA6 #C2A44D #4DC269
split-complementary
#4D6BC2 #C2694D #A6C24D
monochromatic
#26396F #36509C #4D6BC2 #7B91D2 #A8B7E1

Accessibility & contrast

On white

5.00
#4D6BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D6BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6BC2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6BC2#FFFFFF#000000##FFFFFF
##4D6BC21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#316AC0
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d6bc2;
/* rgb */ color: rgb(77, 107, 194);
/* oklch */ color: oklch(54.8% 0.140 267.4);
Tailwind
colors: {
  custom: {
    50: '#8995d5',
    500: '#4d6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d6bc2;
$custom-light: #8995d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6bc2",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 224.615,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.13973,
    "h": 267.4
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#4D6BC2
secondary
#CFC29C
accent
#B54FD9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4D6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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