#4938AF#4938AF

#4938AF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.180 H 282.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4938AF
RGBrgb(73, 56, 175)
HSLhsl(249, 52%, 45%)
HSVhsv(249, 68%, 69%)
CMYKcmyk(58.3%, 68%, 0%, 31.4%)
CIE-LABlab(32.57, 40.77, -61.08)
CIE-LCHlch(32.57, 73.44, 303.72°)
OKLaboklab(43.61% 0.0388 -0.1758)
OKLCHoklch(43.61% 0.18 282.5)
XYZxyz(11.8973, 7.3392, 41.3388)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4938AF #9EAF38
analogous
#3863AF #4938AF #8438AF
triadic
#4938AF #AF4938 #38AF49
tetradic
#4938AF #AF3863 #9EAF38 #38AF84
square
#4938AF #AF3863 #9EAF38 #38AF84
split-complementary
#4938AF #AF8438 #63AF38
monochromatic
#221A52 #362981 #4938AF #6A5ACA #9488D9

Accessibility & contrast

On white

8.51
#4938AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4938AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4938AF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4938AF#FFFFFF#000000##FFFFFF
##4938AF1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#0D576F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4938af;
/* rgb */ color: rgb(73, 56, 175);
/* oklch */ color: oklch(43.6% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#8770c8',
    500: '#4938af',
    950: '#000000',
  },
}
SCSS
$custom: #4938af;
$custom-light: #8770c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4938af",
  "rgb": {
    "r": 73,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 248.571,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.18004,
    "h": 282.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#4938AF
secondary
#BAC380
accent
#DB4DC7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4938AF

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

Preview Lab → · Contrast checker → · Palette generator →

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