#4A508D#4A508D

#4A508D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.6% C 0.099 H 277.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4A508D
RGBrgb(74, 80, 141)
HSLhsl(235, 31%, 42%)
HSVhsv(235, 48%, 55%)
CMYKcmyk(47.5%, 43.3%, 0%, 44.7%)
CIE-LABlab(36.21, 14.88, -34.70)
CIE-LCHlch(36.21, 37.76, 293.21°)
OKLaboklab(45.57% 0.0129 -0.0982)
OKLCHoklch(45.57% 0.099 277.5)
XYZxyz(10.4989, 9.1157, 26.4004)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A508D #8D874A
analogous
#4A728D #4A508D #664A8D
triadic
#4A508D #8D4A50 #508D4A
tetradic
#4A508D #8D4A72 #8D874A #4A8D66
square
#4A508D #8D4A72 #8D874A #4A8D66
split-complementary
#4A508D #8D664A #728D4A
monochromatic
#20223D #353965 #4A508D #666CAF #8E93C4

Accessibility & contrast

On white

7.44
#4A508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4A508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A508D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A508D#FFFFFF#000000##FFFFFF
##4A508D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#325D67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a508d;
/* rgb */ color: rgb(74, 80, 141);
/* oklch */ color: oklch(45.6% 0.099 277.5);
Tailwind
colors: {
  custom: {
    50: '#8080af',
    500: '#4a508d',
    950: '#000000',
  },
}
SCSS
$custom: #4a508d;
$custom-light: #8080af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a508d",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 234.627,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4557,
    "c": 0.099,
    "h": 277.5
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#4A508D
secondary
#B0AC83
accent
#BE60C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A508D

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

Preview Lab → · Contrast checker → · Palette generator →

#4A508D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva