#4F58CB#4F58CB

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

Color values

HEX#4F58CB
RGBrgb(79, 88, 203)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61.1%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.69, 31.42, -61.00)
CIE-LCHlch(42.69, 68.61, 297.25°)
OKLaboklab(51.84% 0.0155 -0.1752)
OKLCHoklch(51.84% 0.176 275.1)
XYZxyz(17.4901, 12.9521, 58.0667)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58CB #CBC24F
analogous
#4F96CB #4F58CB #844FCB
triadic
#4F58CB #CB4F58 #58CB4F
tetradic
#4F58CB #CB4F96 #CBC24F #4FCB84
square
#4F58CB #CB4F96 #CBC24F #4FCB84
split-complementary
#4F58CB #CB844F #96CB4F
monochromatic
#242B7B #323BAA #4F58CB #7E85D9 #ADB2E7

Accessibility & contrast

On white

5.85
#4F58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4F58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58CB#FFFFFF#000000##FFFFFF
##4F58CB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f58cb;
/* rgb */ color: rgb(79, 88, 203);
/* oklch */ color: oklch(51.8% 0.176 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c87dc',
    500: '#4f58cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f58cb;
$custom-light: #8c87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58cb",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 235.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.1759,
    "h": 275.1
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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