#4758A5#4758A5

#4758A5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.125 H 271.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4758A5
RGBrgb(71, 88, 165)
HSLhsl(229, 40%, 46%)
HSVhsv(229, 57%, 65%)
CMYKcmyk(57%, 46.7%, 0%, 35.3%)
CIE-LABlab(39.64, 16.98, -43.69)
CIE-LCHlch(39.64, 46.87, 291.24°)
OKLaboklab(48.59% 0.0037 -0.1245)
OKLCHoklch(48.59% 0.125 271.7)
XYZxyz(12.8776, 11.0347, 37.0413)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758A5 #A59447
analogous
#4787A5 #4758A5 #6547A5
triadic
#4758A5 #A54758 #58A547
tetradic
#4758A5 #A54787 #A59447 #47A565
square
#4758A5 #A54787 #A59447 #47A565
split-complementary
#4758A5 #A56547 #87A547
monochromatic
#222A4F #35417A #4758A5 #6A7ABF #95A0D1

Accessibility & contrast

On white

6.55
#4758A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4758A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758A5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758A5#FFFFFF#000000##FFFFFF
##4758A51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#285AA3
Tritanopia (blue-blind)
#0E6976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4758a5;
/* rgb */ color: rgb(71, 88, 165);
/* oklch */ color: oklch(48.6% 0.125 271.7);
Tailwind
colors: {
  custom: {
    50: '#8286c0',
    500: '#4758a5',
    950: '#000000',
  },
}
SCSS
$custom: #4758a5;
$custom-light: #8286c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4758a5",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 229.149,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.12455,
    "h": 271.7
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#4758A5
secondary
#BDB48B
accent
#BA58D0
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4758A5

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

Preview Lab → · Contrast checker → · Palette generator →

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