#4958CB#4958CB

#4958CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.177 H 272.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4958CB
RGBrgb(73, 88, 203)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 64%, 80%)
CMYKcmyk(64%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.32, 30.42, -61.62)
CIE-LCHlch(42.32, 68.72, 296.27°)
OKLaboklab(51.46% 0.0089 -0.1772)
OKLCHoklch(51.46% 0.177 272.9)
XYZxyz(17.0133, 12.7062, 58.0443)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CB #CBBC49
analogous
#4999CB #4958CB #7B49CB
triadic
#4958CB #CB4958 #58CB49
tetradic
#4958CB #CB4999 #CBBC49 #49CB7B
square
#4958CB #CB4999 #CBBC49 #49CB7B
split-complementary
#4958CB #CB7B49 #99CB49
monochromatic
#222C77 #303EA7 #4958CB #7984D9 #A8AFE6

Accessibility & contrast

On white

5.93
#4958CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4958CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CB#FFFFFF#000000##FFFFFF
##4958CB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4958cb;
/* rgb */ color: rgb(73, 88, 203);
/* oklch */ color: oklch(51.5% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#8987dc',
    500: '#4958cb',
    950: '#000000',
  },
}
SCSS
$custom: #4958cb;
$custom-light: #8987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4958cb",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 233.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.17743,
    "h": 272.9
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#4958CB
secondary
#D4CD9C
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CB

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

Preview Lab → · Contrast checker → · Palette generator →

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