#4F52CF#4F52CF

#4F52CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.189 H 276.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4F52CF
RGBrgb(79, 82, 207)
HSLhsl(239, 57%, 56%)
HSVhsv(239, 62%, 81%)
CMYKcmyk(61.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.53, 36.46, -65.18)
CIE-LCHlch(41.53, 74.69, 299.22°)
OKLaboklab(51.07% 0.0209 -0.1876)
OKLCHoklch(51.07% 0.189 276.4)
XYZxyz(17.5006, 12.2005, 60.4521)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52CF #CFCC4F
analogous
#4F92CF #4F52CF #8C4FCF
triadic
#4F52CF #CF4F52 #52CF4F
tetradic
#4F52CF #CF4F92 #CFCC4F #4FCF8C
square
#4F52CF #CF4F92 #CFCC4F #4FCF8C
split-complementary
#4F52CF #CF8C4F #92CF4F
monochromatic
#232581 #3033B1 #4F52CF #7F81DC #AFB1E9

Accessibility & contrast

On white

6.10
#4F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4F52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52CF#FFFFFF#000000##FFFFFF
##4F52CF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f52cf;
/* rgb */ color: rgb(79, 82, 207);
/* oklch */ color: oklch(51.1% 0.189 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d83df',
    500: '#4f52cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f52cf;
$custom-light: #8d83df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52cf",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 238.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.18874,
    "h": 276.4
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#4F52CF
secondary
#D7D6A2
accent
#DD47E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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