#4958BF#4958BF

#4958BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.161 H 273.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4958BF
RGBrgb(73, 88, 191)
HSLhsl(232, 48%, 52%)
HSVhsv(232, 62%, 75%)
CMYKcmyk(61.8%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.46, 26.29, -56.05)
CIE-LCHlch(41.46, 61.91, 295.13°)
OKLaboklab(50.55% 0.0085 -0.1608)
OKLCHoklch(50.55% 0.161 273)
XYZxyz(15.6382, 12.1562, 50.8024)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958BF #BFB049
analogous
#4993BF #4958BF #7549BF
triadic
#4958BF #BF4958 #58BF49
tetradic
#4958BF #BF4993 #BFB049 #49BF75
square
#4958BF #BF4993 #BFB049 #49BF75
split-complementary
#4958BF #BF7549 #93BF49
monochromatic
#252D69 #354196 #4958BF #7682CF #A4ABDF

Accessibility & contrast

On white

6.12
#4958BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4958BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958BF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958BF#FFFFFF#000000##FFFFFF
##4958BF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4958bf;
/* rgb */ color: rgb(73, 88, 191);
/* oklch */ color: oklch(50.6% 0.161 273.0);
Tailwind
colors: {
  custom: {
    50: '#8787d3',
    500: '#4958bf',
    950: '#000000',
  },
}
SCSS
$custom: #4958bf;
$custom-light: #8787d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4958bf",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 232.373,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.16102,
    "h": 273
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#4958BF
secondary
#CCC598
accent
#C650D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4958BF

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

Preview Lab → · Contrast checker → · Palette generator →

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