#4937AF#4937AF

#4937AF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.5% C 0.181 H 282.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4937AF
RGBrgb(73, 55, 175)
HSLhsl(249, 52%, 45%)
HSVhsv(249, 69%, 69%)
CMYKcmyk(58.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(32.35, 41.35, -61.43)
CIE-LCHlch(32.35, 74.05, 303.95°)
OKLaboklab(43.46% 0.0397 -0.1768)
OKLCHoklch(43.46% 0.181 282.6)
XYZxyz(11.8493, 7.2432, 41.3228)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4937AF #9DAF37
analogous
#3761AF #4937AF #8537AF
triadic
#4937AF #AF4937 #37AF49
tetradic
#4937AF #AF3761 #9DAF37 #37AF85
square
#4937AF #AF3761 #9DAF37 #37AF85
split-complementary
#4937AF #AF8537 #61AF37
monochromatic
#221A52 #362880 #4937AF #6A59CB #9387D9

Accessibility & contrast

On white

8.58
#4937AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4937AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4937AF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4937AF#FFFFFF#000000##FFFFFF
##4937AF1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#0D566E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4937af;
/* rgb */ color: rgb(73, 55, 175);
/* oklch */ color: oklch(43.5% 0.181 282.6);
Tailwind
colors: {
  custom: {
    50: '#876fc8',
    500: '#4937af',
    950: '#000000',
  },
}
SCSS
$custom: #4937af;
$custom-light: #876fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4937af",
  "rgb": {
    "r": 73,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 249,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.18123,
    "h": 282.6
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#4937AF
secondary
#B9C37F
accent
#DC4CC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4937AF

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

Preview Lab → · Contrast checker → · Palette generator →

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