#4F59CA#4F59CA

#4F59CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.173 H 274.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F59CA
RGBrgb(79, 89, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 61%, 79%)
CMYKcmyk(60.9%, 55.9%, 0%, 20.8%)
CIE-LABlab(42.87, 30.46, -60.13)
CIE-LCHlch(42.87, 67.40, 296.86°)
OKLaboklab(51.95% 0.0146 -0.1727)
OKLCHoklch(51.95% 0.173 274.8)
XYZxyz(17.4540, 13.0699, 57.4686)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59CA #CAC04F
analogous
#4F96CA #4F59CA #824FCA
triadic
#4F59CA #CA4F59 #59CA4F
tetradic
#4F59CA #CA4F96 #CAC04F #4FCA82
square
#4F59CA #CA4F96 #CAC04F #4FCA82
split-complementary
#4F59CA #CA824F #96CA4F
monochromatic
#252C7A #333CA9 #4F59CA #7E85D8 #ADB2E6

Accessibility & contrast

On white

5.81
#4F59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4F59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59CA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59CA#FFFFFF#000000##FFFFFF
##4F59CA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f59ca;
/* rgb */ color: rgb(79, 89, 202);
/* oklch */ color: oklch(51.9% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c87db',
    500: '#4f59ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f59ca;
$custom-light: #8c87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59ca",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 235.122,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.17327,
    "h": 274.8
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#4F59CA
secondary
#D4D0A1
accent
#D14BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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