#4758BF#4758BF

#4758BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.162 H 272.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4758BF
RGBrgb(71, 88, 191)
HSLhsl(232, 48%, 51%)
HSVhsv(232, 63%, 75%)
CMYKcmyk(62.8%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.34, 25.94, -56.25)
CIE-LCHlch(41.34, 61.94, 294.76°)
OKLaboklab(50.43% 0.0063 -0.1614)
OKLCHoklch(50.43% 0.162 272.2)
XYZxyz(15.4891, 12.0793, 50.7954)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758BF #BFAE47
analogous
#4794BF #4758BF #7247BF
triadic
#4758BF #BF4758 #58BF47
tetradic
#4758BF #BF4794 #BFAE47 #47BF72
square
#4758BF #BF4794 #BFAE47 #47BF72
split-complementary
#4758BF #BF7247 #94BF47
monochromatic
#242E68 #344295 #4758BF #7481CF #A2AADF

Accessibility & contrast

On white

6.15
#4758BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4758BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758BF#FFFFFF#000000##FFFFFF
##4758BF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4758bf;
/* rgb */ color: rgb(71, 88, 191);
/* oklch */ color: oklch(50.4% 0.162 272.2);
Tailwind
colors: {
  custom: {
    50: '#8686d3',
    500: '#4758bf',
    950: '#000000',
  },
}
SCSS
$custom: #4758bf;
$custom-light: #8686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4758bf",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 231.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.16156,
    "h": 272.2
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#4758BF
secondary
#CBC496
accent
#C550D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4758BF

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

Preview Lab → · Contrast checker → · Palette generator →

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