#4F59CF#4F59CF

#4F59CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.180 H 274.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F59CF
RGBrgb(79, 89, 207)
HSLhsl(235, 57%, 56%)
HSVhsv(235, 62%, 81%)
CMYKcmyk(61.8%, 57%, 0%, 18.8%)
CIE-LABlab(43.23, 32.14, -62.43)
CIE-LCHlch(43.23, 70.22, 297.24°)
OKLaboklab(52.33% 0.0146 -0.1794)
OKLCHoklch(52.33% 0.18 274.7)
XYZxyz(18.0556, 13.3105, 60.6371)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59CF #CFC54F
analogous
#4F99CF #4F59CF #854FCF
triadic
#4F59CF #CF4F59 #59CF4F
tetradic
#4F59CF #CF4F99 #CFC54F #4FCF85
square
#4F59CF #CF4F99 #CFC54F #4FCF85
split-complementary
#4F59CF #CF854F #99CF4F
monochromatic
#232A81 #303AB1 #4F59CF #7F86DC #AFB4E9

Accessibility & contrast

On white

5.73
#4F59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59CF#FFFFFF#000000##FFFFFF
##4F59CF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f59cf;
/* rgb */ color: rgb(79, 89, 207);
/* oklch */ color: oklch(52.3% 0.180 274.7);
Tailwind
colors: {
  custom: {
    50: '#8d87de',
    500: '#4f59cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f59cf;
$custom-light: #8d87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59cf",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 235.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.18002,
    "h": 274.7
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#4F59CF
secondary
#D7D3A2
accent
#D447E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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