#4F59BF#4F59BF

#4F59BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.158 H 275.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F59BF
RGBrgb(79, 89, 191)
HSLhsl(235, 47%, 53%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(58.6%, 53.4%, 0%, 25.1%)
CIE-LABlab(42.10, 26.76, -54.99)
CIE-LCHlch(42.10, 61.16, 295.95°)
OKLaboklab(51.13% 0.0141 -0.1575)
OKLCHoklch(51.13% 0.158 275.1)
XYZxyz(16.1977, 12.5674, 50.8523)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59BF #BFB54F
analogous
#4F91BF #4F59BF #7D4FBF
triadic
#4F59BF #BF4F59 #59BF4F
tetradic
#4F59BF #BF4F91 #BFB54F #4FBF7D
square
#4F59BF #BF4F91 #BFB54F #4FBF7D
split-complementary
#4F59BF #BF7D4F #91BF4F
monochromatic
#272E6C #384099 #4F59BF #7C83CF #A9AEE0

Accessibility & contrast

On white

5.98
#4F59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59BF#FFFFFF#000000##FFFFFF
##4F59BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f59bf;
/* rgb */ color: rgb(79, 89, 191);
/* oklch */ color: oklch(51.1% 0.158 275.1);
Tailwind
colors: {
  custom: {
    50: '#8a87d3',
    500: '#4f59bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f59bf;
$custom-light: #8a87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59bf",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 234.643,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.15817,
    "h": 275.1
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#4F59BF
secondary
#CDC99D
accent
#CA51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4F59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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