#4F52BC#4F52BC

#4F52BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.163 H 277.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4F52BC
RGBrgb(79, 82, 188)
HSLhsl(238, 45%, 52%)
HSVhsv(238, 58%, 74%)
CMYKcmyk(58%, 56.4%, 0%, 26.3%)
CIE-LABlab(40.13, 30.17, -56.44)
CIE-LCHlch(40.13, 64.00, 298.12°)
OKLaboklab(49.59% 0.0211 -0.1619)
OKLCHoklch(49.59% 0.163 277.4)
XYZxyz(15.3159, 11.3266, 48.9464)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52BC #BCB94F
analogous
#4F88BC #4F52BC #834FBC
triadic
#4F52BC #BC4F52 #52BC4F
tetradic
#4F52BC #BC4F88 #BCB94F #4FBC83
square
#4F52BC #BC4F88 #BCB94F #4FBC83
split-complementary
#4F52BC #BC834F #88BC4F
monochromatic
#282A69 #393B95 #4F52BC #7B7ECD #A8A9DE

Accessibility & contrast

On white

6.43
#4F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4F52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52BC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52BC#FFFFFF#000000##FFFFFF
##4F52BC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#066B7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f52bc;
/* rgb */ color: rgb(79, 82, 188);
/* oklch */ color: oklch(49.6% 0.163 277.4);
Tailwind
colors: {
  custom: {
    50: '#8a82d1',
    500: '#4f52bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f52bc;
$custom-light: #8a82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52bc",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 238.349,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49587,
    "c": 0.16324,
    "h": 277.4
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#4F52BC
secondary
#CBCA9C
accent
#D153D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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