#4D52CD#4D52CD

#4D52CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.187 H 275.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4D52CD
RGBrgb(77, 82, 205)
HSLhsl(238, 56%, 55%)
HSVhsv(238, 62%, 80%)
CMYKcmyk(62.4%, 60%, 0%, 19.6%)
CIE-LABlab(41.25, 35.48, -64.50)
CIE-LCHlch(41.25, 73.62, 298.81°)
OKLaboklab(50.78% 0.0187 -0.1856)
OKLCHoklch(50.78% 0.187 275.7)
XYZxyz(17.0937, 12.0188, 59.1648)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52CD #CDC84D
analogous
#4D92CD #4D52CD #884DCD
triadic
#4D52CD #CD4D52 #52CD4D
tetradic
#4D52CD #CD4D92 #CDC84D #4DCD88
square
#4D52CD #CD4D92 #CDC84D #4DCD88
split-complementary
#4D52CD #CD884D #92CD4D
monochromatic
#23277D #3035AC #4D52CD #7D80DA #ADAFE8

Accessibility & contrast

On white

6.17
#4D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4D52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52CD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52CD#FFFFFF#000000##FFFFFF
##4D52CD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d52cd;
/* rgb */ color: rgb(77, 82, 205);
/* oklch */ color: oklch(50.8% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c82dd',
    500: '#4d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d52cd;
$custom-light: #8c82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52cd",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 237.656,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.18657,
    "h": 275.7
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#4D52CD
secondary
#D6D4A0
accent
#DA48DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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