#4958CD#4958CD

#4958CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.180 H 272.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4958CD
RGBrgb(73, 88, 205)
HSLhsl(233, 57%, 55%)
HSVhsv(233, 64%, 80%)
CMYKcmyk(64.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.46, 31.11, -62.54)
CIE-LCHlch(42.46, 69.84, 296.45°)
OKLaboklab(51.62% 0.009 -0.1799)
OKLCHoklch(51.62% 0.18 272.9)
XYZxyz(17.2531, 12.8022, 59.3076)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CD #CDBE49
analogous
#499ACD #4958CD #7C49CD
triadic
#4958CD #CD4958 #58CD49
tetradic
#4958CD #CD499A #CDBE49 #49CD7C
square
#4958CD #CD499A #CDBE49 #49CD7C
split-complementary
#4958CD #CD7C49 #9ACD49
monochromatic
#222C7A #2F3DAA #4958CD #7984DA #A9B0E7

Accessibility & contrast

On white

5.90
#4958CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4958CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CD#FFFFFF#000000##FFFFFF
##4958CD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4958cd;
/* rgb */ color: rgb(73, 88, 205);
/* oklch */ color: oklch(51.6% 0.180 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a87dd',
    500: '#4958cd',
    950: '#000000',
  },
}
SCSS
$custom: #4958cd;
$custom-light: #8a87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4958cd",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 233.182,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.18011,
    "h": 272.9
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#4958CD
secondary
#D5CE9D
accent
#CF48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CD

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

Preview Lab → · Contrast checker → · Palette generator →

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