#4A4875#4A4875

#4A4875 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.074 H 284.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4A4875
RGBrgb(74, 72, 117)
HSLhsl(243, 24%, 37%)
HSVhsv(243, 38%, 46%)
CMYKcmyk(36.8%, 38.5%, 0%, 54.1%)
CIE-LABlab(32.65, 12.61, -25.51)
CIE-LCHlch(32.65, 28.45, 296.30°)
OKLaboklab(42.42% 0.0189 -0.0714)
OKLCHoklch(42.42% 0.074 284.8)
XYZxyz(8.3514, 7.3747, 17.8096)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4875 #737548
analogous
#485D75 #4A4875 #614875
triadic
#4A4875 #754A48 #48754A
tetradic
#4A4875 #75485D #737548 #487561
square
#4A4875 #75485D #737548 #487561
split-complementary
#4A4875 #756148 #5D7548
monochromatic
#1A1929 #32314F #4A4875 #625F9B #8684B3

Accessibility & contrast

On white

8.48
#4A4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4875
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4875#FFFFFF#000000##FFFFFF
##4A48751.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E77
Deuteranopia (green-blind)
#394B74
Tritanopia (blue-blind)
#3F5059
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a4875;
/* rgb */ color: rgb(74, 72, 117);
/* oklch */ color: oklch(42.4% 0.074 284.8);
Tailwind
colors: {
  custom: {
    50: '#7e7b9d',
    500: '#4a4875',
    950: '#000000',
  },
}
SCSS
$custom: #4a4875;
$custom-light: #7e7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4875",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 242.667,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.07386,
    "h": 284.8
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#4A4875
secondary
#9EA079
accent
#C068BC
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4A4875

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

Preview Lab → · Contrast checker → · Palette generator →

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