#4A58BF#4A58BF

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

Color values

HEX#4A58BF
RGBrgb(74, 88, 191)
HSLhsl(233, 48%, 52%)
HSVhsv(233, 61%, 75%)
CMYKcmyk(61.3%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.53, 26.47, -55.94)
CIE-LCHlch(41.53, 61.89, 295.32°)
OKLaboklab(50.61% 0.0096 -0.1605)
OKLCHoklch(50.61% 0.161 273.4)
XYZxyz(15.7146, 12.1956, 50.8060)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58BF #BFB14A
analogous
#4A92BF #4A58BF #774ABF
triadic
#4A58BF #BF4A58 #58BF4A
tetradic
#4A58BF #BF4A92 #BFB14A #4ABF77
square
#4A58BF #BF4A92 #BFB14A #4ABF77
split-complementary
#4A58BF #BF774A #92BF4A
monochromatic
#252D69 #354197 #4A58BF #7782CF #A4ABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A58BF#FFFFFF#000000##FFFFFF
##4A58BF1.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)
#1367C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a58bf;
/* rgb */ color: rgb(74, 88, 191);
/* oklch */ color: oklch(50.6% 0.161 273.4);
Tailwind
colors: {
  custom: {
    50: '#8887d3',
    500: '#4a58bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a58bf;
$custom-light: #8887d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58bf",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 232.821,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.16075,
    "h": 273.4
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#4A58BF
secondary
#CCC699
accent
#C750D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4A58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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