#4758B7#4758B7

#4758B7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.150 H 272.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4758B7
RGBrgb(71, 88, 183)
HSLhsl(231, 44%, 50%)
HSVhsv(231, 61%, 72%)
CMYKcmyk(61.2%, 51.9%, 0%, 28.2%)
CIE-LABlab(40.79, 23.17, -52.46)
CIE-LCHlch(40.79, 57.35, 293.83°)
OKLaboklab(49.84% 0.0058 -0.1503)
OKLCHoklch(49.84% 0.15 272.2)
XYZxyz(14.6327, 11.7367, 46.2849)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758B7 #B7A647
analogous
#4790B7 #4758B7 #6E47B7
triadic
#4758B7 #B74758 #58B747
tetradic
#4758B7 #B74790 #B7A647 #47B76E
square
#4758B7 #B74790 #B7A647 #47B76E
split-complementary
#4758B7 #B76E47 #90B747
monochromatic
#252E5F #36438B #4758B7 #7380C9 #9FA8DA

Accessibility & contrast

On white

6.27
#4758B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4758B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758B7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758B7#FFFFFF#000000##FFFFFF
##4758B71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4758b7;
/* rgb */ color: rgb(71, 88, 183);
/* oklch */ color: oklch(49.8% 0.150 272.2);
Tailwind
colors: {
  custom: {
    50: '#8586cd',
    500: '#4758b7',
    950: '#000000',
  },
}
SCSS
$custom: #4758b7;
$custom-light: #8586cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4758b7",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 230.893,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.1504,
    "h": 272.2
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#4758B7
secondary
#C6BF94
accent
#C054D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4758B7

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

Preview Lab → · Contrast checker → · Palette generator →

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