#4A538E#4A538E

#4A538E is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.096 H 275.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4A538E
RGBrgb(74, 83, 142)
HSLhsl(232, 31%, 42%)
HSVhsv(232, 48%, 56%)
CMYKcmyk(47.9%, 41.5%, 0%, 44.3%)
CIE-LABlab(37.11, 13.26, -33.89)
CIE-LCHlch(37.11, 36.39, 291.37°)
OKLaboklab(46.28% 0.0091 -0.0957)
OKLCHoklch(46.28% 0.096 275.4)
XYZxyz(10.7983, 9.5948, 26.8689)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A538E #8E854A
analogous
#4A758E #4A538E #634A8E
triadic
#4A538E #8E4A53 #538E4A
tetradic
#4A538E #8E4A75 #8E854A #4A8E63
square
#4A538E #8E4A75 #8E854A #4A8E63
split-complementary
#4A538E #8E634A #758E4A
monochromatic
#20243E #353B66 #4A538E #6670AF #8E95C4

Accessibility & contrast

On white

7.19
#4A538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4A538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A538E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A538E#FFFFFF#000000##FFFFFF
##4A538E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#315F69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a538e;
/* rgb */ color: rgb(74, 83, 142);
/* oklch */ color: oklch(46.3% 0.096 275.4);
Tailwind
colors: {
  custom: {
    50: '#8083af',
    500: '#4a538e',
    950: '#000000',
  },
}
SCSS
$custom: #4a538e;
$custom-light: #8083af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a538e",
  "rgb": {
    "r": 74,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 232.059,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.09618,
    "h": 275.4
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#4A538E
secondary
#B0AA84
accent
#BA60C8
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A538E

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

Preview Lab → · Contrast checker → · Palette generator →

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