#4A58CB#4A58CB

#4A58CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.177 H 273.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4A58CB
RGBrgb(74, 88, 203)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 64%, 80%)
CMYKcmyk(63.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.38, 30.58, -61.52)
CIE-LCHlch(42.38, 68.70, 296.43°)
OKLaboklab(51.52% 0.01 -0.1769)
OKLCHoklch(51.52% 0.177 273.2)
XYZxyz(17.0897, 12.7456, 58.0479)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58CB #CBBD4A
analogous
#4A99CB #4A58CB #7C4ACB
triadic
#4A58CB #CB4A58 #58CB4A
tetradic
#4A58CB #CB4A99 #CBBD4A #4ACB7C
square
#4A58CB #CB4A99 #CBBD4A #4ACB7C
split-complementary
#4A58CB #CB7C4A #99CB4A
monochromatic
#232C78 #303DA8 #4A58CB #7A84D9 #A9B0E6

Accessibility & contrast

On white

5.92
#4A58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4A58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58CB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58CB#FFFFFF#000000##FFFFFF
##4A58CB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a58cb;
/* rgb */ color: rgb(74, 88, 203);
/* oklch */ color: oklch(51.5% 0.177 273.2);
Tailwind
colors: {
  custom: {
    50: '#8a87dc',
    500: '#4a58cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a58cb;
$custom-light: #8a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58cb",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 233.488,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.17716,
    "h": 273.2
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#4A58CB
secondary
#D4CE9D
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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