#4F59CC#4F59CC

#4F59CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.176 H 274.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F59CC
RGBrgb(79, 89, 204)
HSLhsl(235, 55%, 55%)
HSVhsv(235, 61%, 80%)
CMYKcmyk(61.3%, 56.4%, 0%, 20%)
CIE-LABlab(43.01, 31.13, -61.05)
CIE-LCHlch(43.01, 68.53, 297.01°)
OKLaboklab(52.1% 0.0146 -0.1754)
OKLCHoklch(52.1% 0.176 274.8)
XYZxyz(17.6923, 13.1652, 58.7238)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59CC #CCC24F
analogous
#4F97CC #4F59CC #834FCC
triadic
#4F59CC #CC4F59 #59CC4F
tetradic
#4F59CC #CC4F97 #CCC24F #4FCC83
square
#4F59CC #CC4F97 #CCC24F #4FCC83
split-complementary
#4F59CC #CC834F #97CC4F
monochromatic
#242B7D #323CAC #4F59CC #7E86DA #AEB3E7

Accessibility & contrast

On white

5.78
#4F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59CC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59CC#FFFFFF#000000##FFFFFF
##4F59CC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f59cc;
/* rgb */ color: rgb(79, 89, 204);
/* oklch */ color: oklch(52.1% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c87dc',
    500: '#4f59cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f59cc;
$custom-light: #8c87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59cc",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 235.2,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.17598,
    "h": 274.8
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#4F59CC
secondary
#D5D1A1
accent
#D249DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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