#4958AF#4958AF

#4958AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.138 H 273.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4958AF
RGBrgb(73, 88, 175)
HSLhsl(231, 41%, 49%)
HSVhsv(231, 58%, 69%)
CMYKcmyk(58.3%, 49.7%, 0%, 31.4%)
CIE-LABlab(40.39, 20.81, -48.39)
CIE-LCHlch(40.39, 52.68, 293.27°)
OKLaboklab(49.4% 0.0071 -0.1383)
OKLCHoklch(49.4% 0.138 273)
XYZxyz(13.9727, 11.4900, 42.0306)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4958AF #AFA049
analogous
#498BAF #4958AF #6D49AF
triadic
#4958AF #AF4958 #58AF49
tetradic
#4958AF #AF498B #AFA049 #49AF6D
square
#4958AF #AF498B #AFA049 #49AF6D
split-complementary
#4958AF #AF6D49 #8BAF49
monochromatic
#252D59 #374284 #4958AF #717DC4 #9CA5D6

Accessibility & contrast

On white

6.37
#4958AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4958AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4958AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4958AF#FFFFFF#000000##FFFFFF
##4958AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4958af;
/* rgb */ color: rgb(73, 88, 175);
/* oklch */ color: oklch(49.4% 0.138 273.0);
Tailwind
colors: {
  custom: {
    50: '#8486c7',
    500: '#4958af',
    950: '#000000',
  },
}
SCSS
$custom: #4958af;
$custom-light: #8486c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4958af",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 231.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.13846,
    "h": 273
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#4958AF
secondary
#C2BB91
accent
#BF57D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4958AF

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

Preview Lab → · Contrast checker → · Palette generator →

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