#4F59CB#4F59CB

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

Color values

HEX#4F59CB
RGBrgb(79, 89, 203)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 61%, 80%)
CMYKcmyk(61.1%, 56.2%, 0%, 20.4%)
CIE-LABlab(42.94, 30.79, -60.59)
CIE-LCHlch(42.94, 67.97, 296.94°)
OKLaboklab(52.02% 0.0146 -0.174)
OKLCHoklch(52.02% 0.175 274.8)
XYZxyz(17.5728, 13.1174, 58.0942)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59CB #CBC14F
analogous
#4F97CB #4F59CB #834FCB
triadic
#4F59CB #CB4F59 #59CB4F
tetradic
#4F59CB #CB4F97 #CBC14F #4FCB83
square
#4F59CB #CB4F97 #CBC14F #4FCB83
split-complementary
#4F59CB #CB834F #97CB4F
monochromatic
#242B7B #323CAA #4F59CB #7E86D9 #ADB2E7

Accessibility & contrast

On white

5.80
#4F59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59CB#FFFFFF#000000##FFFFFF
##4F59CB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f59cb;
/* rgb */ color: rgb(79, 89, 203);
/* oklch */ color: oklch(52.0% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c87dc',
    500: '#4f59cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f59cb;
$custom-light: #8c87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59cb",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 235.161,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.17463,
    "h": 274.8
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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