#4958C8#4958C8

#4958C8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.173 H 272.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4958C8
RGBrgb(73, 88, 200)
HSLhsl(233, 54%, 54%)
HSVhsv(233, 64%, 78%)
CMYKcmyk(63.5%, 56%, 0%, 21.6%)
CIE-LABlab(42.10, 29.39, -60.24)
CIE-LCHlch(42.10, 67.03, 296.01°)
OKLaboklab(51.23% 0.0089 -0.1731)
OKLCHoklch(51.23% 0.173 272.9)
XYZxyz(16.6592, 12.5646, 56.1797)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958C8 #C8B949
analogous
#4997C8 #4958C8 #7949C8
triadic
#4958C8 #C84958 #58C849
tetradic
#4958C8 #C84997 #C8B949 #49C879
square
#4958C8 #C84997 #C8B949 #49C879
split-complementary
#4958C8 #C87949 #97C849
monochromatic
#232C74 #313FA3 #4958C8 #7883D6 #A7AEE4

Accessibility & contrast

On white

5.98
#4958C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4958C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958C8#FFFFFF#000000##FFFFFF
##4958C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4958c8;
/* rgb */ color: rgb(73, 88, 200);
/* oklch */ color: oklch(51.2% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4958c8',
    950: '#000000',
  },
}
SCSS
$custom: #4958c8;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4958c8",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 232.913,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.17337,
    "h": 272.9
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#4958C8
secondary
#D2CB9B
accent
#CC4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4958C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva