#4958CF#4958CF

#4958CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.183 H 272.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4958CF
RGBrgb(73, 88, 207)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(64.7%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.61, 31.79, -63.45)
CIE-LCHlch(42.61, 70.97, 296.61°)
OKLaboklab(51.77% 0.009 -0.1826)
OKLCHoklch(51.77% 0.183 272.8)
XYZxyz(17.4961, 12.8994, 60.5872)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CF #CFC049
analogous
#499BCF #4958CF #7D49CF
triadic
#4958CF #CF4958 #58CF49
tetradic
#4958CF #CF499B #CFC049 #49CF7D
square
#4958CF #CF499B #CFC049 #49CF7D
split-complementary
#4958CF #CF7D49 #9BCF49
monochromatic
#212B7D #2E3CAD #4958CF #7984DC #AAB1E9

Accessibility & contrast

On white

5.87
#4958CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4958CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CF#FFFFFF#000000##FFFFFF
##4958CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4958cf;
/* rgb */ color: rgb(73, 88, 207);
/* oklch */ color: oklch(51.8% 0.183 272.8);
Tailwind
colors: {
  custom: {
    50: '#8a87df',
    500: '#4958cf',
    950: '#000000',
  },
}
SCSS
$custom: #4958cf;
$custom-light: #8a87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4958cf",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 233.284,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.18279,
    "h": 272.8
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#4958CF
secondary
#D6D09E
accent
#D046E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CF

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

Preview Lab → · Contrast checker → · Palette generator →

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