#4758CB#4758CB

#4758CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.178 H 272.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4758CB
RGBrgb(71, 88, 203)
HSLhsl(232, 56%, 54%)
HSVhsv(232, 65%, 80%)
CMYKcmyk(65%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.20, 30.10, -61.82)
CIE-LCHlch(42.20, 68.76, 295.96°)
OKLaboklab(51.34% 0.0068 -0.1778)
OKLCHoklch(51.34% 0.178 272.2)
XYZxyz(16.8641, 12.6293, 58.0373)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CB #CBBA47
analogous
#479ACB #4758CB #7847CB
triadic
#4758CB #CB4758 #58CB47
tetradic
#4758CB #CB479A #CBBA47 #47CB78
square
#4758CB #CB479A #CBBA47 #47CB78
split-complementary
#4758CB #CB7847 #9ACB47
monochromatic
#212C76 #2F3EA6 #4758CB #7783D8 #A6AFE6

Accessibility & contrast

On white

5.96
#4758CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4758CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CB#FFFFFF#000000##FFFFFF
##4758CB1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4758cb;
/* rgb */ color: rgb(71, 88, 203);
/* oklch */ color: oklch(51.3% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#8887dc',
    500: '#4758cb',
    950: '#000000',
  },
}
SCSS
$custom: #4758cb;
$custom-light: #8887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4758cb",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 232.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.17795,
    "h": 272.2
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#4758CB
secondary
#D3CC9B
accent
#CC49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4758CB

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

Preview Lab → · Contrast checker → · Palette generator →

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