#4D7DC2#4D7DC2

#4D7DC2 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.7% C 0.119 H 257.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D7DC2
RGBrgb(77, 125, 194)
HSLhsl(215, 49%, 53%)
HSVhsv(215, 60%, 76%)
CMYKcmyk(60.3%, 35.6%, 0%, 23.9%)
CIE-LABlab(51.99, 4.96, -40.94)
CIE-LCHlch(51.99, 41.24, 276.90°)
OKLaboklab(58.73% -0.0257 -0.1159)
OKLCHoklch(58.73% 0.119 257.5)
XYZxyz(20.1283, 20.1383, 53.8548)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DC2 #C2924D
analogous
#4DB7C2 #4D7DC2 #574DC2
triadic
#4D7DC2 #C24D7D #7DC24D
tetradic
#4D7DC2 #C24DB7 #C2924D #4DC257
square
#4D7DC2 #C24DB7 #C2924D #4DC257
split-complementary
#4D7DC2 #C2574D #B7C24D
monochromatic
#26446F #36609C #4D7DC2 #7B9ED2 #A8C0E1

Accessibility & contrast

On white

4.18
#4D7DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4D7DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DC2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DC2#FFFFFF#000000##000000
##4D7DC21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7dc2;
/* rgb */ color: rgb(77, 125, 194);
/* oklch */ color: oklch(58.7% 0.119 257.5);
Tailwind
colors: {
  custom: {
    50: '#88a2d5',
    500: '#4d7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dc2;
$custom-light: #88a2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dc2",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 215.385,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.11875,
    "h": 257.5
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#4D7DC2
secondary
#CFBA9C
accent
#A04FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4D7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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