#4D7BDC#4D7BDC

#4D7BDC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.156 H 263.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4D7BDC
RGBrgb(77, 123, 220)
HSLhsl(221, 67%, 58%)
HSVhsv(221, 65%, 86%)
CMYKcmyk(65%, 44.1%, 0%, 13.7%)
CIE-LABlab(52.85, 15.07, -54.33)
CIE-LCHlch(52.85, 56.38, 285.50°)
OKLaboklab(59.86% -0.0181 -0.1552)
OKLCHoklch(59.86% 0.156 263.3)
XYZxyz(23.0573, 20.9088, 70.5170)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BDC #DCAE4D
analogous
#4DC3DC #4D7BDC #664DDC
triadic
#4D7BDC #DC4D7B #7BDC4D
tetradic
#4D7BDC #DC4DC3 #DCAE4D #4DDC66
square
#4D7BDC #DC4DC3 #DCAE4D #4DDC66
split-complementary
#4D7BDC #DC664D #C3DC4D
monochromatic
#1D4292 #275AC5 #4D7BDC #80A1E6 #B3C7F0

Accessibility & contrast

On white

4.05
#4D7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4D7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BDC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BDC#FFFFFF#000000##000000
##4D7BDC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7bdc;
/* rgb */ color: rgb(77, 123, 220);
/* oklch */ color: oklch(59.9% 0.156 263.3);
Tailwind
colors: {
  custom: {
    50: '#8da0e7',
    500: '#4d7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bdc;
$custom-light: #8da0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bdc",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 220.699,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59857,
    "c": 0.15626,
    "h": 263.3
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#4D7BDC
secondary
#DFCDA6
accent
#B33EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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