#4B5397#4B5397

#4B5397 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.110 H 276.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4B5397
RGBrgb(75, 83, 151)
HSLhsl(234, 34%, 44%)
HSVhsv(234, 50%, 59%)
CMYKcmyk(50.3%, 45%, 0%, 40.8%)
CIE-LABlab(37.69, 16.44, -38.40)
CIE-LCHlch(37.69, 41.77, 293.17°)
OKLaboklab(46.91% 0.012 -0.1089)
OKLCHoklch(46.91% 0.11 276.3)
XYZxyz(11.5791, 9.9161, 30.5760)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5397 #978F4B
analogous
#4B7997 #4B5397 #694B97
triadic
#4B5397 #974B53 #53974B
tetradic
#4B5397 #974B79 #978F4B #4B9769
square
#4B5397 #974B79 #978F4B #4B9769
split-complementary
#4B5397 #97694B #79974B
monochromatic
#222645 #373D6E #4B5397 #6A72B5 #9399C9

Accessibility & contrast

On white

7.04
#4B5397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4B5397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5397
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5397#FFFFFF#000000##FFFFFF
##4B53971.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#2D616D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b5397;
/* rgb */ color: rgb(75, 83, 151);
/* oklch */ color: oklch(46.9% 0.110 276.3);
Tailwind
colors: {
  custom: {
    50: '#8283b6',
    500: '#4b5397',
    950: '#000000',
  },
}
SCSS
$custom: #4b5397;
$custom-light: #8283b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5397",
  "rgb": {
    "r": 75,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 233.684,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.10958,
    "h": 276.3
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#4B5397
secondary
#B6B188
accent
#BE5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4B5397

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

Preview Lab → · Contrast checker → · Palette generator →

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