#4A58BB#4A58BB

#4A58BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.155 H 273.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4A58BB
RGBrgb(74, 88, 187)
HSLhsl(233, 45%, 51%)
HSVhsv(233, 60%, 73%)
CMYKcmyk(60.4%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.25, 25.10, -54.05)
CIE-LCHlch(41.25, 59.60, 294.91°)
OKLaboklab(50.32% 0.0093 -0.1549)
OKLCHoklch(50.32% 0.155 273.4)
XYZxyz(15.2805, 12.0219, 48.5193)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58BB #BBAD4A
analogous
#4A90BB #4A58BB #744ABB
triadic
#4A58BB #BB4A58 #58BB4A
tetradic
#4A58BB #BB4A90 #BBAD4A #4ABB74
square
#4A58BB #BB4A90 #BBAD4A #4ABB74
split-complementary
#4A58BB #BB744A #90BB4A
monochromatic
#262E65 #374291 #4A58BB #7681CC #A3AADC

Accessibility & contrast

On white

6.17
#4A58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4A58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58BB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58BB#FFFFFF#000000##FFFFFF
##4A58BB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a58bb;
/* rgb */ color: rgb(74, 88, 187);
/* oklch */ color: oklch(50.3% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#8787d0',
    500: '#4a58bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a58bb;
$custom-light: #8787d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58bb",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 232.566,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.15519,
    "h": 273.4
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#4A58BB
secondary
#C9C397
accent
#C553D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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