#4D7BCE#4D7BCE

#4D7BCE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.137 H 261.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D7BCE
RGBrgb(77, 123, 206)
HSLhsl(219, 57%, 55%)
HSVhsv(219, 63%, 81%)
CMYKcmyk(62.6%, 40.3%, 0%, 19.2%)
CIE-LABlab(52.06, 10.25, -47.67)
CIE-LCHlch(52.06, 48.76, 282.13°)
OKLaboklab(58.99% -0.0208 -0.1357)
OKLCHoklch(58.99% 0.137 261.3)
XYZxyz(21.2802, 20.1980, 61.1577)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BCE #CEA04D
analogous
#4DBBCE #4D7BCE #604DCE
triadic
#4D7BCE #CE4D7B #7BCE4D
tetradic
#4D7BCE #CE4DBB #CEA04D #4DCE60
square
#4D7BCE #CE4DBB #CEA04D #4DCE60
split-complementary
#4D7BCE #CE604D #BBCE4D
monochromatic
#23437E #305DAE #4D7BCE #7D9FDB #ADC2E8

Accessibility & contrast

On white

4.17
#4D7BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BCE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BCE#FFFFFF#000000##000000
##4D7BCE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D1
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7bce;
/* rgb */ color: rgb(77, 123, 206);
/* oklch */ color: oklch(59.0% 0.137 261.3);
Tailwind
colors: {
  custom: {
    50: '#8aa0dd',
    500: '#4d7bce',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bce;
$custom-light: #8aa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bce",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 218.605,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.13724,
    "h": 261.3
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#4D7BCE
secondary
#D6C3A1
accent
#AA48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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