#4F57CA#4F57CA

#4F57CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.176 H 275.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4F57CA
RGBrgb(79, 87, 202)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 61%, 79%)
CMYKcmyk(60.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.37, 31.70, -60.94)
CIE-LCHlch(42.37, 68.69, 297.49°)
OKLaboklab(51.58% 0.0164 -0.175)
OKLCHoklch(51.58% 0.176 275.4)
XYZxyz(17.2898, 12.7416, 57.4139)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57CA #CAC24F
analogous
#4F94CA #4F57CA #854FCA
triadic
#4F57CA #CA4F57 #57CA4F
tetradic
#4F57CA #CA4F94 #CAC24F #4FCA85
square
#4F57CA #CA4F94 #CAC24F #4FCA85
split-complementary
#4F57CA #CA854F #94CA4F
monochromatic
#252A7A #333BA9 #4F57CA #7E84D8 #ADB1E6

Accessibility & contrast

On white

5.92
#4F57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4F57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57CA#FFFFFF#000000##FFFFFF
##4F57CA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f57ca;
/* rgb */ color: rgb(79, 87, 202);
/* oklch */ color: oklch(51.6% 0.176 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c86db',
    500: '#4f57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f57ca;
$custom-light: #8c86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57ca",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 236.098,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.17582,
    "h": 275.4
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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