#4758AC#4758AC

#4758AC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.135 H 272.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4758AC
RGBrgb(71, 88, 172)
HSLhsl(230, 42%, 48%)
HSVhsv(230, 59%, 67%)
CMYKcmyk(58.7%, 48.8%, 0%, 32.5%)
CIE-LABlab(40.08, 19.38, -47.14)
CIE-LCHlch(40.08, 50.97, 292.35°)
OKLaboklab(49.07% 0.0046 -0.1346)
OKLCHoklch(49.07% 0.135 272)
XYZxyz(13.5322, 11.2966, 40.4891)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758AC #AC9B47
analogous
#478AAC #4758AC #6847AC
triadic
#4758AC #AC4758 #58AC47
tetradic
#4758AC #AC478A #AC9B47 #47AC68
square
#4758AC #AC478A #AC9B47 #47AC68
split-complementary
#4758AC #AC6847 #8AAC47
monochromatic
#232C55 #354281 #4758AC #6D7CC3 #99A3D5

Accessibility & contrast

On white

6.44
#4758AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4758AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758AC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758AC#FFFFFF#000000##FFFFFF
##4758AC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4758ac;
/* rgb */ color: rgb(71, 88, 172);
/* oklch */ color: oklch(49.1% 0.135 272.0);
Tailwind
colors: {
  custom: {
    50: '#8386c5',
    500: '#4758ac',
    950: '#000000',
  },
}
SCSS
$custom: #4758ac;
$custom-light: #8386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4758ac",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 229.901,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.13473,
    "h": 272
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#4758AC
secondary
#C1B88E
accent
#BD56D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4758AC

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

Preview Lab → · Contrast checker → · Palette generator →

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