#4F52DA#4F52DA

#4F52DA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.203 H 275.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4F52DA
RGBrgb(79, 82, 218)
HSLhsl(239, 65%, 58%)
HSVhsv(239, 64%, 85%)
CMYKcmyk(63.8%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.40, 40.10, -70.09)
CIE-LCHlch(42.40, 80.75, 299.77°)
OKLaboklab(51.98% 0.0204 -0.202)
OKLCHoklch(51.98% 0.203 275.8)
XYZxyz(18.8925, 12.7572, 67.7829)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52DA #DAD74F
analogous
#4F97DA #4F52DA #914FDA
triadic
#4F52DA #DA4F52 #52DA4F
tetradic
#4F52DA #DA4F97 #DAD74F #4FDA91
square
#4F52DA #DA4F97 #DAD74F #4FDA91
split-complementary
#4F52DA #DA914F #97DA4F
monochromatic
#1E2190 #292CC3 #4F52DA #8284E5 #B4B5EF

Accessibility & contrast

On white

5.91
#4F52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4F52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52DA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52DA#FFFFFF#000000##FFFFFF
##4F52DA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f52da;
/* rgb */ color: rgb(79, 82, 218);
/* oklch */ color: oklch(52.0% 0.203 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f83e6',
    500: '#4f52da',
    950: '#000000',
  },
}
SCSS
$custom: #4f52da;
$custom-light: #8f83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52da",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 238.705,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.20302,
    "h": 275.8
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#4F52DA
secondary
#DEDDA7
accent
#E540E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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