#4D5FCA#4D5FCA

#4D5FCA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.166 H 272.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4D5FCA
RGBrgb(77, 95, 202)
HSLhsl(231, 54%, 55%)
HSVhsv(231, 62%, 79%)
CMYKcmyk(61.9%, 53%, 0%, 20.8%)
CIE-LABlab(44.27, 26.34, -57.87)
CIE-LCHlch(44.27, 63.58, 294.47°)
OKLaboklab(52.96% 0.0067 -0.166)
OKLCHoklch(52.96% 0.166 272.3)
XYZxyz(17.8099, 14.0250, 57.6342)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FCA #CAB84D
analogous
#4D9ECA #4D5FCA #7A4DCA
triadic
#4D5FCA #CA4D5F #5FCA4D
tetradic
#4D5FCA #CA4D9E #CAB84D #4DCA7A
square
#4D5FCA #CA4D9E #CAB84D #4DCA7A
split-complementary
#4D5FCA #CA7A4D #9ECA4D
monochromatic
#243079 #3243A8 #4D5FCA #7C89D8 #ABB4E6

Accessibility & contrast

On white

5.52
#4D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4D5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FCA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FCA#FFFFFF#000000##FFFFFF
##4D5FCA1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5fca;
/* rgb */ color: rgb(77, 95, 202);
/* oklch */ color: oklch(53.0% 0.166 272.3);
Tailwind
colors: {
  custom: {
    50: '#8b8cdb',
    500: '#4d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fca;
$custom-light: #8b8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fca",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 231.36,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.16613,
    "h": 272.3
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#4D5FCA
secondary
#D4CC9F
accent
#C84ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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