#4F52CD#4F52CD

#4F52CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.186 H 276.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4F52CD
RGBrgb(79, 82, 205)
HSLhsl(239, 56%, 56%)
HSVhsv(239, 61%, 80%)
CMYKcmyk(61.5%, 60%, 0%, 19.6%)
CIE-LABlab(41.38, 35.80, -64.28)
CIE-LCHlch(41.38, 73.58, 299.12°)
OKLaboklab(50.91% 0.021 -0.1849)
OKLCHoklch(50.91% 0.186 276.5)
XYZxyz(17.2576, 12.1033, 59.1725)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52CD #CDCA4F
analogous
#4F91CD #4F52CD #8B4FCD
triadic
#4F52CD #CD4F52 #52CD4F
tetradic
#4F52CD #CD4F91 #CDCA4F #4FCD8B
square
#4F52CD #CD4F91 #CDCA4F #4FCD8B
split-complementary
#4F52CD #CD8B4F #91CD4F
monochromatic
#24267E #3134AE #4F52CD #7F81DB #AEB0E8

Accessibility & contrast

On white

6.14
#4F52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52CD#FFFFFF#000000##FFFFFF
##4F52CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f52cd;
/* rgb */ color: rgb(79, 82, 205);
/* oklch */ color: oklch(50.9% 0.186 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d83dd',
    500: '#4f52cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f52cd;
$custom-light: #8d83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52cd",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 238.571,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.18611,
    "h": 276.5
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#4F52CD
secondary
#D6D5A2
accent
#DB49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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