#4F56CA#4F56CA

#4F56CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.177 H 275.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4F56CA
RGBrgb(79, 86, 202)
HSLhsl(237, 54%, 55%)
HSVhsv(237, 61%, 79%)
CMYKcmyk(60.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.12, 32.33, -61.34)
CIE-LCHlch(42.12, 69.34, 297.79°)
OKLaboklab(51.39% 0.0174 -0.1762)
OKLCHoklch(51.39% 0.177 275.6)
XYZxyz(17.2094, 12.5808, 57.3871)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56CA #CAC34F
analogous
#4F94CA #4F56CA #854FCA
triadic
#4F56CA #CA4F56 #56CA4F
tetradic
#4F56CA #CA4F94 #CAC34F #4FCA85
square
#4F56CA #CA4F94 #CAC34F #4FCA85
split-complementary
#4F56CA #CA854F #94CA4F
monochromatic
#252A7A #333AA9 #4F56CA #7E83D8 #ADB0E6

Accessibility & contrast

On white

5.97
#4F56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4F56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56CA#FFFFFF#000000##FFFFFF
##4F56CA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f56ca;
/* rgb */ color: rgb(79, 86, 202);
/* oklch */ color: oklch(51.4% 0.177 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c85db',
    500: '#4f56ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f56ca;
$custom-light: #8c85db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56ca",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 236.585,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.17709,
    "h": 275.6
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#4F56CA
secondary
#D4D1A1
accent
#D54BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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