#4D7FCA#4D7FCA

#4D7FCA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.127 H 258.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D7FCA
RGBrgb(77, 127, 202)
HSLhsl(216, 54%, 55%)
HSVhsv(216, 62%, 79%)
CMYKcmyk(61.9%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.97, 6.45, -43.95)
CIE-LCHlch(52.97, 44.42, 278.35°)
OKLaboklab(59.63% -0.0258 -0.1247)
OKLCHoklch(59.63% 0.127 258.3)
XYZxyz(21.3068, 21.0188, 58.7999)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FCA #CA984D
analogous
#4DBECA #4D7FCA #5A4DCA
triadic
#4D7FCA #CA4D7F #7FCA4D
tetradic
#4D7FCA #CA4DBE #CA984D #4DCA5A
square
#4D7FCA #CA4DBE #CA984D #4DCA5A
split-complementary
#4D7FCA #CA5A4D #BECA4D
monochromatic
#244679 #3261A8 #4D7FCA #7CA1D8 #ABC3E6

Accessibility & contrast

On white

4.04
#4D7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FCA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FCA#FFFFFF#000000##000000
##4D7FCA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7fca;
/* rgb */ color: rgb(77, 127, 202);
/* oklch */ color: oklch(59.6% 0.127 258.3);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4d7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fca;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fca",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 216,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.12737,
    "h": 258.3
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#4D7FCA
secondary
#D4BF9F
accent
#A34ADD
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4D7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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