#4758A4#4758A4

#4758A4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.123 H 271.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4758A4
RGBrgb(71, 88, 164)
HSLhsl(229, 40%, 46%)
HSVhsv(229, 57%, 64%)
CMYKcmyk(56.7%, 46.3%, 0%, 35.7%)
CIE-LABlab(39.58, 16.64, -43.19)
CIE-LCHlch(39.58, 46.29, 291.07°)
OKLaboklab(48.53% 0.0035 -0.123)
OKLCHoklch(48.53% 0.123 271.6)
XYZxyz(12.7869, 10.9984, 36.5639)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758A4 #A49347
analogous
#4786A4 #4758A4 #6447A4
triadic
#4758A4 #A44758 #58A447
tetradic
#4758A4 #A44786 #A49347 #47A464
square
#4758A4 #A44786 #A49347 #47A464
split-complementary
#4758A4 #A46447 #86A447
monochromatic
#222A4F #354179 #4758A4 #6A79BE #95A0D1

Accessibility & contrast

On white

6.56
#4758A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4758A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758A4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758A4#FFFFFF#000000##FFFFFF
##4758A41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A7
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#106976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4758a4;
/* rgb */ color: rgb(71, 88, 164);
/* oklch */ color: oklch(48.5% 0.123 271.6);
Tailwind
colors: {
  custom: {
    50: '#8286bf',
    500: '#4758a4',
    950: '#000000',
  },
}
SCSS
$custom: #4758a4;
$custom-light: #8286bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4758a4",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 229.032,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.12309,
    "h": 271.6
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#4758A4
secondary
#BDB38A
accent
#BA58CF
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4758A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4758A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva