#4D63B2#4D63B2

#4D63B2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.127 H 269.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D63B2
RGBrgb(77, 99, 178)
HSLhsl(227, 40%, 50%)
HSVhsv(227, 57%, 70%)
CMYKcmyk(56.7%, 44.4%, 0%, 30.2%)
CIE-LABlab(43.82, 15.65, -44.66)
CIE-LCHlch(43.82, 47.32, 289.31°)
OKLaboklab(52.14% -0.0003 -0.1271)
OKLCHoklch(52.14% 0.127 269.9)
XYZxyz(15.5556, 13.7146, 43.9383)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D63B2 #B29C4D
analogous
#4D95B2 #4D63B2 #6A4DB2
triadic
#4D63B2 #B24D63 #63B24D
tetradic
#4D63B2 #B24D95 #B29C4D #4DB26A
square
#4D63B2 #B24D95 #B29C4D #4DB26A
split-complementary
#4D63B2 #B26A4D #95B24D
monochromatic
#28335D #3B4B87 #4D63B2 #7888C4 #A2AED7

Accessibility & contrast

On white

5.61
#4D63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4D63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D63B2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D63B2#FFFFFF#000000##FFFFFF
##4D63B21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#0D7482
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d63b2;
/* rgb */ color: rgb(77, 99, 178);
/* oklch */ color: oklch(52.1% 0.127 269.9);
Tailwind
colors: {
  custom: {
    50: '#878fc9',
    500: '#4d63b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d63b2;
$custom-light: #878fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d63b2",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 226.931,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.12709,
    "h": 269.9
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#4D63B2
secondary
#C4BA97
accent
#B658CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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