#4758CA#4758CA

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

Color values

HEX#4758CA
RGBrgb(71, 88, 202)
HSLhsl(232, 55%, 54%)
HSVhsv(232, 65%, 79%)
CMYKcmyk(64.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.13, 29.76, -61.36)
CIE-LCHlch(42.13, 68.19, 295.87°)
OKLaboklab(51.26% 0.0068 -0.1765)
OKLCHoklch(51.26% 0.177 272.2)
XYZxyz(16.7454, 12.5818, 57.4117)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CA #CAB947
analogous
#4799CA #4758CA #7747CA
triadic
#4758CA #CA4758 #58CA47
tetradic
#4758CA #CA4799 #CAB947 #47CA77
square
#4758CA #CA4799 #CAB947 #47CA77
split-complementary
#4758CA #CA7747 #99CA47
monochromatic
#222C75 #2F3FA4 #4758CA #7783D8 #A6AEE5

Accessibility & contrast

On white

5.97
#4758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4758CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CA#FFFFFF#000000##FFFFFF
##4758CA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4758ca;
/* rgb */ color: rgb(71, 88, 202);
/* oklch */ color: oklch(51.3% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#8887db',
    500: '#4758ca',
    950: '#000000',
  },
}
SCSS
$custom: #4758ca;
$custom-light: #8887db;
$custom-dark: #000000;
JSON
{
  "hex": "#4758ca",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 232.214,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.17661,
    "h": 272.2
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#4758CA
secondary
#D2CB9A
accent
#CB49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4758CA

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

Preview Lab → · Contrast checker → · Palette generator →

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