#4D7CDC#4D7CDC

#4D7CDC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.155 H 262.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4D7CDC
RGBrgb(77, 124, 220)
HSLhsl(220, 67%, 58%)
HSVhsv(220, 65%, 86%)
CMYKcmyk(65%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.12, 14.46, -53.90)
CIE-LCHlch(53.12, 55.80, 285.02°)
OKLaboklab(60.07% -0.0191 -0.1539)
OKLCHoklch(60.07% 0.155 262.9)
XYZxyz(23.1820, 21.1582, 70.5585)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CDC #DCAD4D
analogous
#4DC3DC #4D7CDC #654DDC
triadic
#4D7CDC #DC4D7C #7CDC4D
tetradic
#4D7CDC #DC4DC3 #DCAD4D #4DDC65
square
#4D7CDC #DC4DC3 #DCAD4D #4DDC65
split-complementary
#4D7CDC #DC654D #C3DC4D
monochromatic
#1D4392 #275BC5 #4D7CDC #80A2E6 #B3C7F0

Accessibility & contrast

On white

4.01
#4D7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4D7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CDC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CDC#FFFFFF#000000##000000
##4D7CDC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7cdc;
/* rgb */ color: rgb(77, 124, 220);
/* oklch */ color: oklch(60.1% 0.155 262.9);
Tailwind
colors: {
  custom: {
    50: '#8da1e7',
    500: '#4d7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cdc;
$custom-light: #8da1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cdc",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 220.28,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.15509,
    "h": 262.9
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#4D7CDC
secondary
#DFCCA6
accent
#B13EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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