#4A508E#4A508E

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

Color values

HEX#4A508E
RGBrgb(74, 80, 142)
HSLhsl(235, 31%, 42%)
HSVhsv(235, 48%, 56%)
CMYKcmyk(47.9%, 43.7%, 0%, 44.3%)
CIE-LABlab(36.26, 15.20, -35.22)
CIE-LCHlch(36.26, 38.36, 293.34°)
OKLaboklab(45.63% 0.013 -0.0997)
OKLCHoklch(45.63% 0.101 277.5)
XYZxyz(10.5737, 9.1456, 26.7941)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A508E #8E884A
analogous
#4A728E #4A508E #664A8E
triadic
#4A508E #8E4A50 #508E4A
tetradic
#4A508E #8E4A72 #8E884A #4A8E66
square
#4A508E #8E4A72 #8E884A #4A8E66
split-complementary
#4A508E #8E664A #728E4A
monochromatic
#20233E #353966 #4A508E #666CAF #8E93C4

Accessibility & contrast

On white

7.42
#4A508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4A508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A508E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A508E#FFFFFF#000000##FFFFFF
##4A508E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#325D68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a508e;
/* rgb */ color: rgb(74, 80, 142);
/* oklch */ color: oklch(45.6% 0.101 277.5);
Tailwind
colors: {
  custom: {
    50: '#8180af',
    500: '#4a508e',
    950: '#000000',
  },
}
SCSS
$custom: #4a508e;
$custom-light: #8180af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a508e",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 234.706,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.10053,
    "h": 277.5
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#4A508E
secondary
#B0AC84
accent
#BF60C8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4A508E

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

Preview Lab → · Contrast checker → · Palette generator →

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