#4758CF#4758CF

#4758CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.183 H 272.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4758CF
RGBrgb(71, 88, 207)
HSLhsl(233, 59%, 55%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(65.7%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.49, 31.49, -63.64)
CIE-LCHlch(42.49, 71.00, 296.32°)
OKLaboklab(51.65% 0.0069 -0.1832)
OKLCHoklch(51.65% 0.183 272.2)
XYZxyz(17.3470, 12.8225, 60.5802)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758CF #CFBE47
analogous
#479CCF #4758CF #7A47CF
triadic
#4758CF #CF4758 #58CF47
tetradic
#4758CF #CF479C #CFBE47 #47CF7A
square
#4758CF #CF479C #CFBE47 #47CF7A
split-complementary
#4758CF #CF7A47 #9CCF47
monochromatic
#202C7B #2D3DAC #4758CF #7884DC #A8B0E8

Accessibility & contrast

On white

5.89
#4758CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4758CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758CF#FFFFFF#000000##FFFFFF
##4758CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4758cf;
/* rgb */ color: rgb(71, 88, 207);
/* oklch */ color: oklch(51.7% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#8987df',
    500: '#4758cf',
    950: '#000000',
  },
}
SCSS
$custom: #4758cf;
$custom-light: #8987df;
$custom-dark: #000000;
JSON
{
  "hex": "#4758cf",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 232.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.18332,
    "h": 272.2
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#4758CF
secondary
#D6CE9C
accent
#CE46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4758CF

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

Preview Lab → · Contrast checker → · Palette generator →

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