#4D7BCF#4D7BCF

#4D7BCF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.139 H 261.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D7BCF
RGBrgb(77, 123, 207)
HSLhsl(219, 58%, 56%)
HSVhsv(219, 63%, 81%)
CMYKcmyk(62.8%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.12, 10.59, -48.15)
CIE-LCHlch(52.12, 49.30, 282.40°)
OKLaboklab(59.05% -0.0206 -0.1371)
OKLCHoklch(59.05% 0.139 261.5)
XYZxyz(21.4021, 20.2467, 61.7995)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BCF #CFA14D
analogous
#4DBCCF #4D7BCF #604DCF
triadic
#4D7BCF #CF4D7B #7BCF4D
tetradic
#4D7BCF #CF4DBC #CFA14D #4DCF60
square
#4D7BCF #CF4DBC #CFA14D #4DCF60
split-complementary
#4D7BCF #CF604D #BCCF4D
monochromatic
#22437F #2F5DAF #4D7BCF #7D9FDC #ADC2E9

Accessibility & contrast

On white

4.16
#4D7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4D7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BCF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BCF#FFFFFF#000000##000000
##4D7BCF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7bcf;
/* rgb */ color: rgb(77, 123, 207);
/* oklch */ color: oklch(59.1% 0.139 261.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0de',
    500: '#4d7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bcf;
$custom-light: #8aa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bcf",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 218.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.1386,
    "h": 261.5
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

primary
#4D7BCF
secondary
#D7C4A1
accent
#AA47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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