#4A58CD#4A58CD

#4A58CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.180 H 273.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4A58CD
RGBrgb(74, 88, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(63.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.52, 31.26, -62.44)
CIE-LCHlch(42.52, 69.83, 296.60°)
OKLaboklab(51.68% 0.0101 -0.1796)
OKLCHoklch(51.68% 0.18 273.2)
XYZxyz(17.3295, 12.8416, 59.3112)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58CD #CDBF4A
analogous
#4A99CD #4A58CD #7E4ACD
triadic
#4A58CD #CD4A58 #58CD4A
tetradic
#4A58CD #CD4A99 #CDBF4A #4ACD7E
square
#4A58CD #CD4A99 #CDBF4A #4ACD7E
split-complementary
#4A58CD #CD7E4A #99CD4A
monochromatic
#222B7B #2F3CAB #4A58CD #7A84DA #AAB0E7

Accessibility & contrast

On white

5.88
#4A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4A58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58CD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58CD#FFFFFF#000000##FFFFFF
##4A58CD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a58cd;
/* rgb */ color: rgb(74, 88, 205);
/* oklch */ color: oklch(51.7% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#8a87dd',
    500: '#4a58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a58cd;
$custom-light: #8a87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58cd",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 233.588,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.17985,
    "h": 273.2
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#4A58CD
secondary
#D5CF9E
accent
#D048E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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