#4D7BCD#4D7BCD

#4D7BCD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.136 H 261.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D7BCD
RGBrgb(77, 123, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62.4%, 40%, 0%, 19.6%)
CIE-LABlab(52.01, 9.90, -47.19)
CIE-LCHlch(52.01, 48.22, 281.85°)
OKLaboklab(58.93% -0.021 -0.1342)
OKLCHoklch(58.93% 0.136 261.1)
XYZxyz(21.1591, 20.1495, 60.5200)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BCD #CD9F4D
analogous
#4DBBCD #4D7BCD #5F4DCD
triadic
#4D7BCD #CD4D7B #7BCD4D
tetradic
#4D7BCD #CD4DBB #CD9F4D #4DCD5F
square
#4D7BCD #CD4DBB #CD9F4D #4DCD5F
split-complementary
#4D7BCD #CD5F4D #BBCD4D
monochromatic
#23437D #305DAC #4D7BCD #7D9EDA #ADC2E8

Accessibility & contrast

On white

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

On black

5.03
#4D7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BCD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BCD#FFFFFF#000000##000000
##4D7BCD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782D0
Deuteranopia (green-blind)
#4477CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7bcd;
/* rgb */ color: rgb(77, 123, 205);
/* oklch */ color: oklch(58.9% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0dd',
    500: '#4d7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bcd;
$custom-light: #8aa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bcd",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 218.438,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.13588,
    "h": 261.1
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#4D7BCD
secondary
#D6C2A0
accent
#A948DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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