#4F52CA#4F52CA

#4F52CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.182 H 276.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4F52CA
RGBrgb(79, 82, 202)
HSLhsl(239, 54%, 55%)
HSVhsv(239, 61%, 79%)
CMYKcmyk(60.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(41.15, 34.81, -62.92)
CIE-LCHlch(41.15, 71.90, 298.95°)
OKLaboklab(50.67% 0.0211 -0.1809)
OKLCHoklch(50.67% 0.182 276.6)
XYZxyz(16.8990, 11.9598, 57.2836)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52CA #CAC74F
analogous
#4F8FCA #4F52CA #8A4FCA
triadic
#4F52CA #CA4F52 #52CA4F
tetradic
#4F52CA #CA4F8F #CAC74F #4FCA8A
square
#4F52CA #CA4F8F #CAC74F #4FCA8A
split-complementary
#4F52CA #CA8A4F #8FCA4F
monochromatic
#25277A #3336A9 #4F52CA #7E80D8 #ADAEE6

Accessibility & contrast

On white

6.19
#4F52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4F52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52CA#FFFFFF#000000##FFFFFF
##4F52CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f52ca;
/* rgb */ color: rgb(79, 82, 202);
/* oklch */ color: oklch(50.7% 0.182 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c82db',
    500: '#4f52ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ca;
$custom-light: #8c82db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ca",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 238.537,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.18213,
    "h": 276.6
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#4F52CA
secondary
#D4D3A1
accent
#DA4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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