#4758A2#4758A2

#4758A2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.120 H 271.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4758A2
RGBrgb(71, 88, 162)
HSLhsl(229, 39%, 46%)
HSVhsv(229, 56%, 64%)
CMYKcmyk(56.2%, 45.7%, 0%, 36.5%)
CIE-LABlab(39.46, 15.96, -42.19)
CIE-LCHlch(39.46, 45.11, 290.72°)
OKLaboklab(48.4% 0.0032 -0.1201)
OKLCHoklch(48.4% 0.12 271.5)
XYZxyz(12.6077, 10.9268, 35.6201)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758A2 #A29147
analogous
#4785A2 #4758A2 #6347A2
triadic
#4758A2 #A24758 #58A247
tetradic
#4758A2 #A24785 #A29147 #47A263
square
#4758A2 #A24785 #A29147 #47A263
split-complementary
#4758A2 #A26347 #85A247
monochromatic
#222A4D #344177 #4758A2 #6979BD #949FD0

Accessibility & contrast

On white

6.59
#4758A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4758A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758A2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758A2#FFFFFF#000000##FFFFFF
##4758A21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#146875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4758a2;
/* rgb */ color: rgb(71, 88, 162);
/* oklch */ color: oklch(48.4% 0.120 271.5);
Tailwind
colors: {
  custom: {
    50: '#8186be',
    500: '#4758a2',
    950: '#000000',
  },
}
SCSS
$custom: #4758a2;
$custom-light: #8186be;
$custom-dark: #000000;
JSON
{
  "hex": "#4758a2",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 228.791,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48396,
    "c": 0.12015,
    "h": 271.5
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#4758A2
secondary
#BCB289
accent
#B959CF
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4758A2

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

Preview Lab → · Contrast checker → · Palette generator →

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