#4F58CA#4F58CA

#4F58CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.175 H 275.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4F58CA
RGBrgb(79, 88, 202)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 61%, 79%)
CMYKcmyk(60.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.62, 31.08, -60.54)
CIE-LCHlch(42.62, 68.05, 297.18°)
OKLaboklab(51.76% 0.0155 -0.1739)
OKLCHoklch(51.76% 0.175 275.1)
XYZxyz(17.3714, 12.9046, 57.4411)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58CA #CAC14F
analogous
#4F95CA #4F58CA #844FCA
triadic
#4F58CA #CA4F58 #58CA4F
tetradic
#4F58CA #CA4F95 #CAC14F #4FCA84
square
#4F58CA #CA4F95 #CAC14F #4FCA84
split-complementary
#4F58CA #CA844F #95CA4F
monochromatic
#252B7A #333CA9 #4F58CA #7E85D8 #ADB1E6

Accessibility & contrast

On white

5.86
#4F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58CA#FFFFFF#000000##FFFFFF
##4F58CA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f58ca;
/* rgb */ color: rgb(79, 88, 202);
/* oklch */ color: oklch(51.8% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c87db',
    500: '#4f58ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f58ca;
$custom-light: #8c87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58ca",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 235.61,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.17455,
    "h": 275.1
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#4F58CA
secondary
#D4D0A1
accent
#D24BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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