#4C58A2#4C58A2

#4C58A2 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.7% C 0.119 H 274.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4C58A2
RGBrgb(76, 88, 162)
HSLhsl(232, 36%, 47%)
HSVhsv(232, 53%, 64%)
CMYKcmyk(53.1%, 45.7%, 0%, 36.5%)
CIE-LABlab(39.79, 17.08, -41.65)
CIE-LCHlch(39.79, 45.01, 292.30°)
OKLaboklab(48.74% 0.0087 -0.1184)
OKLCHoklch(48.74% 0.119 274.2)
XYZxyz(12.9897, 11.1237, 35.6380)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58A2 #A2964C
analogous
#4C83A2 #4C58A2 #6B4CA2
triadic
#4C58A2 #A24C58 #58A24C
tetradic
#4C58A2 #A24C83 #A2964C #4CA26B
square
#4C58A2 #A24C83 #A2964C #4CA26B
split-complementary
#4C58A2 #A26B4C #83A24C
monochromatic
#252B4F #384178 #4C58A2 #707ABC #99A1CF

Accessibility & contrast

On white

6.51
#4C58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4C58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58A2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58A2#FFFFFF#000000##FFFFFF
##4C58A21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#256875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c58a2;
/* rgb */ color: rgb(76, 88, 162);
/* oklch */ color: oklch(48.7% 0.119 274.2);
Tailwind
colors: {
  custom: {
    50: '#8486be',
    500: '#4c58a2',
    950: '#000000',
  },
}
SCSS
$custom: #4c58a2;
$custom-light: #8486be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58a2",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 231.628,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.11871,
    "h": 274.2
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#4C58A2
secondary
#BCB58E
accent
#BC5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4C58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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