#4D7BC2#4D7BC2

#4D7BC2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.121 H 258.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4D7BC2
RGBrgb(77, 123, 194)
HSLhsl(216, 49%, 53%)
HSVhsv(216, 60%, 76%)
CMYKcmyk(60.3%, 36.6%, 0%, 23.9%)
CIE-LABlab(51.42, 6.17, -41.84)
CIE-LCHlch(51.42, 42.29, 278.38°)
OKLaboklab(58.29% -0.0235 -0.1186)
OKLCHoklch(58.29% 0.121 258.8)
XYZxyz(19.8777, 19.6370, 53.7713)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BC2 #C2944D
analogous
#4DB6C2 #4D7BC2 #594DC2
triadic
#4D7BC2 #C24D7B #7BC24D
tetradic
#4D7BC2 #C24DB6 #C2944D #4DC259
square
#4D7BC2 #C24DB6 #C2944D #4DC259
split-complementary
#4D7BC2 #C2594D #B6C24D
monochromatic
#26436F #365E9C #4D7BC2 #7B9DD2 #A8BFE1

Accessibility & contrast

On white

4.26
#4D7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4D7BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BC2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BC2#FFFFFF#000000##000000
##4D7BC21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4D76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7bc2;
/* rgb */ color: rgb(77, 123, 194);
/* oklch */ color: oklch(58.3% 0.121 258.8);
Tailwind
colors: {
  custom: {
    50: '#88a0d5',
    500: '#4d7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bc2;
$custom-light: #88a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bc2",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 216.41,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.12088,
    "h": 258.8
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#4D7BC2
secondary
#CFBB9C
accent
#A34FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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