#4F58BA#4F58BA

#4F58BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.153 H 275.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4F58BA
RGBrgb(79, 88, 186)
HSLhsl(235, 44%, 52%)
HSVhsv(235, 58%, 73%)
CMYKcmyk(57.5%, 52.7%, 0%, 27.1%)
CIE-LABlab(41.51, 25.72, -53.03)
CIE-LCHlch(41.51, 58.94, 295.87°)
OKLaboklab(50.58% 0.0148 -0.1518)
OKLCHoklch(50.58% 0.153 275.6)
XYZxyz(15.5742, 12.1858, 47.9762)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58BA #BAB14F
analogous
#4F8EBA #4F58BA #7C4FBA
triadic
#4F58BA #BA4F58 #58BA4F
tetradic
#4F58BA #BA4F8E #BAB14F #4FBA7C
square
#4F58BA #BA4F8E #BAB14F #4FBA7C
split-complementary
#4F58BA #BA7C4F #8EBA4F
monochromatic
#282D66 #394192 #4F58BA #7B82CB #A7ABDC

Accessibility & contrast

On white

6.11
#4F58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4F58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58BA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58BA#FFFFFF#000000##FFFFFF
##4F58BA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BD
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#0A6E80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f58ba;
/* rgb */ color: rgb(79, 88, 186);
/* oklch */ color: oklch(50.6% 0.153 275.6);
Tailwind
colors: {
  custom: {
    50: '#8987cf',
    500: '#4f58ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f58ba;
$custom-light: #8987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58ba",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 234.953,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.15251,
    "h": 275.6
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#4F58BA
secondary
#CAC69B
accent
#C954D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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