#4758AE#4758AE

#4758AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.138 H 272.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4758AE
RGBrgb(71, 88, 174)
HSLhsl(230, 42%, 48%)
HSVhsv(230, 59%, 68%)
CMYKcmyk(59.2%, 49.4%, 0%, 31.8%)
CIE-LABlab(40.20, 20.07, -48.12)
CIE-LCHlch(40.20, 52.13, 292.64°)
OKLaboklab(49.21% 0.0049 -0.1375)
OKLCHoklch(49.21% 0.138 272)
XYZxyz(13.7257, 11.3740, 41.5083)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4758AE #AE9D47
analogous
#478BAE #4758AE #6947AE
triadic
#4758AE #AE4758 #58AE47
tetradic
#4758AE #AE478B #AE9D47 #47AE69
square
#4758AE #AE478B #AE9D47 #47AE69
split-complementary
#4758AE #AE6947 #8BAE47
monochromatic
#242C57 #354283 #4758AE #6E7CC4 #9AA4D6

Accessibility & contrast

On white

6.41
#4758AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4758AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4758AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4758AE#FFFFFF#000000##FFFFFF
##4758AE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4758ae;
/* rgb */ color: rgb(71, 88, 174);
/* oklch */ color: oklch(49.2% 0.138 272.0);
Tailwind
colors: {
  custom: {
    50: '#8386c7',
    500: '#4758ae',
    950: '#000000',
  },
}
SCSS
$custom: #4758ae;
$custom-light: #8386c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4758ae",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 230.097,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.13761,
    "h": 272
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#4758AE
secondary
#C2B98F
accent
#BD56D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4758AE

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

Preview Lab → · Contrast checker → · Palette generator →

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