#4958CA#4958CA

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

Color values

HEX#4958CA
RGBrgb(73, 88, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 64%, 79%)
CMYKcmyk(63.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.24, 30.08, -61.16)
CIE-LCHlch(42.24, 68.16, 296.19°)
OKLaboklab(51.38% 0.0089 -0.1758)
OKLCHoklch(51.38% 0.176 272.9)
XYZxyz(16.8945, 12.6587, 57.4187)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958CA #CABB49
analogous
#4999CA #4958CA #7B49CA
triadic
#4958CA #CA4958 #58CA49
tetradic
#4958CA #CA4999 #CABB49 #49CA7B
square
#4958CA #CA4999 #CABB49 #49CA7B
split-complementary
#4958CA #CA7B49 #99CA49
monochromatic
#222C76 #303EA6 #4958CA #7883D8 #A8AFE6

Accessibility & contrast

On white

5.95
#4958CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4958CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958CA#FFFFFF#000000##FFFFFF
##4958CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4958ca;
/* rgb */ color: rgb(73, 88, 202);
/* oklch */ color: oklch(51.4% 0.176 272.9);
Tailwind
colors: {
  custom: {
    50: '#8987db',
    500: '#4958ca',
    950: '#000000',
  },
}
SCSS
$custom: #4958ca;
$custom-light: #8987db;
$custom-dark: #000000;
JSON
{
  "hex": "#4958ca",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 233.023,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.17608,
    "h": 272.9
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#4958CA
secondary
#D3CD9C
accent
#CD4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4958CA

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

Preview Lab → · Contrast checker → · Palette generator →

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